RailsFoundationValidation

Handles rails validation errors foundation's way by adding the error classes to the validated inputs

Installation

Add this line to your application's Gemfile:

gem 'rails_foundation_validation'

And then execute:

$ bundle
$ rails generate rails_foundation_validation

Usage

An initializer will be generated config/initializers/rails_foundation_validation.rb And that's it

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request