auto_strip_attributes 2.0.2
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:
=
インストール:
=
Runtime依存関係 (1):
activerecord
>= 3.0