auto_strip_attributes 2.3.0
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:
=
installieren:
=
Runtime Abhängigkeiten (1):
activerecord
>= 3.0