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,286 of 191,483
Downloads: 9,571,247

Daily

Ranking: 1,474 of 191,454
Downloads: 17,063

Depended by

RankDownloadsName
18,49894,138fullstack
89,9779,692bitcoin_active_record
105,0877,532omnom
173,5242,418rails8_spree_core
177,7852,048harpiya_core

Depends on

RankDownloadsName
81,274,245,981rake
141,179,873,017minitest
36770,906,816activerecord
57887,970,280mocha

Owners

#GravatarHandle
1iconholli