Categories: None [Edit]

auto_strip_attributes

https://rubygems.org/gems/auto_strip_attributes
https://github.com/holli/auto_strip_attributes
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.

Total

Ranking: 2,256 of 198,430
Downloads: 11,477,836

Daily

Ranking: 1,759 of 198,401
Downloads: 12,778

Depended by

RankDownloadsName
19,44596,384fullstack
90,52810,349bitcoin_active_record
106,8817,889omnom
167,3643,225rails8_spree_core
181,3002,289harpiya_core

Depends on

RankDownloadsName
81,462,600,952rake
141,341,705,701minitest
37866,211,346activerecord
551100,700,586mocha

Owners

#GravatarHandle
1iconholli