:hocho: An ActiveModel extension that automatically strips all attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
- rails
- activemodel
- activerecord
- ruby
142,273 visible repositories in the index
1–2 of 2 · Most stars
:hocho: An ActiveModel extension that automatically strips all attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Database validations for ActiveRecord