auto_strip_attributes 1.0.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:
=
installation:
=
Dépendances de Runtime (1):
activemodel
~> 3.0