Extra Credit

strip_attributes

StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribut

$gem install strip_attributes

Official docs outline

Extra Credit builds an outline of strip_attributes's docs the first time your work uses it. Until then, start at the official documentation.

All 3,925