rails plugin install [email protected]:ericcf/attribute_cleaner.git
before_validation { clean_text_attributes :foo, :bar }
it { should clean_text_attribute(:foo) }
Copyright (c) 2010 [name of plugin creator], released under the MIT license
rails plugin install [email protected]:ericcf/attribute_cleaner.git
before_validation { clean_text_attributes :foo, :bar }
it { should clean_text_attribute(:foo) }
Copyright (c) 2010 [name of plugin creator], released under the MIT license