keeperpat / strip_attributes Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rmm5t/strip_attributes
StripAttributes is a Rails plugin that automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Home Page: http://stripattributes.rubyforge.org/