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,309 of 190,317
Downloads: 9,345,309

Daily

Ranking: 1,924 of 190,280
Downloads: 11,037

Depended by

RankDownloadsName
18,43693,922fullstack
89,9159,650bitcoin_active_record
104,9737,503omnom
174,0762,354rails8_spree_core
177,5672,033harpiya_core

Depends on

RankDownloadsName
81,255,248,311rake
141,163,937,242minitest
36761,692,300activerecord
59186,534,680mocha

Owners

#GravatarHandle
1iconholli