forked from DavyJonesLocker/client_side_validations
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
bcardarella edited this page Apr 7, 2012
·
12 revisions
In your Gemfile just add the gem:
gem 'client_side_validations', '~> 3.0.0'After the gem is installed you'll want to run the generator
> rails generate client_side_validations:installTwo files will be added to your app:
- config/initializers/client_side_validations.rb
- public/javascripts/rails.validations.js
Any time you update the Client Side Validations gem it is recommended that the install generator be run. rails.validations.js is a file that will probably see a lot of change.