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,267 of 196,850
Downloads: 10,992,061

Daily

Ranking: 1,860 of 196,832
Downloads: 5,672

Depended by

RankDownloadsName
19,23396,075fullstack
90,35310,207bitcoin_active_record
106,1377,858omnom
167,3783,135rails8_spree_core
180,6192,256harpiya_core

Depends on

RankDownloadsName
81,421,868,575rake
141,304,828,684minitest
37842,119,098activerecord
54998,065,928mocha

Owners

#GravatarHandle
1iconholli