auto_strip_attributes 2.0.4
AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs. It works by adding a before_validation hook to the record. It has option to set empty strings to nil or to remove extra spaces inside the string.
Gemfile:
=
instalar:
=
Runtime Dependencies (1):
activerecord
>= 3.0