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,274 of 192,692
Downloads: 9,887,025

Daily

Ranking: 2,546 of 192,666
Downloads: 1,368

Depended by

RankDownloadsName
18,73594,712fullstack
90,4609,766bitcoin_active_record
105,3407,633omnom
171,5402,622rails8_spree_core
178,2752,100harpiya_core

Depends on

RankDownloadsName
81,311,002,349rake
141,207,075,832minitest
36786,213,027activerecord
56990,267,487mocha

Owners

#GravatarHandle
1iconholli