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,320 of 189,104
Downloads: 9,091,302

Daily

Ranking: 2,070 of 189,083
Downloads: 6,541

Depended by

RankDownloadsName
18,32693,583fullstack
89,6819,604bitcoin_active_record
104,8977,444omnom
175,3822,217rails8_spree_core
177,3932,002harpiya_core

Depends on

RankDownloadsName
91,221,972,098rake
141,138,395,412minitest
36747,347,908activerecord
61084,386,564mocha

Owners

#GravatarHandle
1iconholli