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,339 of 187,255
Downloads: 8,499,269

Daily

Ranking: 2,280 of 187,239
Downloads: 1,123

Depended by

RankDownloadsName
3,8172,680,163spree_core
18,17891,302fullstack
89,0629,419bitcoin_active_record
105,3817,121omnom
177,1991,806harpiya_core
178,1561,598rails8_spree_core

Depends on

RankDownloadsName
101,152,124,538rake
161,076,922,380minitest
36711,782,395activerecord
63779,817,472mocha

Owners

#GravatarHandle
1iconholli