# ActsAsStrippableOn Easy way to define AR attributes that should be stripped before save ## Installation Add this line to your application's Gemfile: ```ruby gem 'acts_as_strippable_on' ``` And then execute: $ bundle Or install it yourself as: $ gem install acts_as_strippable_on ## Usage Setup ```ruby class User < ActiveRecord::Base acts_as_strippable_on :email, :login end ``` Attributes `email` and `login` will be stripped before model validation. ## 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