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,262 of 197,744
Downloads: 11,238,934

Daily

Ranking: 1,649 of 197,724
Downloads: 16,170

Depended by

RankDownloadsName
19,34896,205fullstack
90,64210,259bitcoin_active_record
106,6667,869omnom
167,3903,184rails8_spree_core
181,0582,268harpiya_core

Depends on

RankDownloadsName
81,444,561,272rake
141,324,561,847minitest
37855,219,427activerecord
54999,511,870mocha

Owners

#GravatarHandle
1iconholli