strip_attributes 1.8.0
StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Gemfile:
=
install:
=
Runtime Dependencies (1):
activemodel
< 6.0, >= 3.0
Development Dependencies (5):
active_attr
~> 0.9
minitest
< 6.0, >= 5.0
minitest-matchers_vaccine
~> 1.0
minitest-reporters
>= 0.14.24
rake
>= 0