In RE v2 native mode another common requirement will be to validate the contents of a field e.g. if I define a model with 3 fields, I want to be able to make a checkdigit calculation on the content of field number 1 and either accept the field contents or reject them based on the result of the calculation. Does anyone have some sample Ruby code whichs shows how to do this?
To add a plug in, you would add it like any other JS library. Put the JS file into the public/js folder. Then in the layout.erb add a <script> tag to include the plug in js file like it does for jQuery