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 193,214
Downloads: 10,057,489

Daily

Ranking: 2,053 of 193,188
Downloads: 4,641

Depended by

RankDownloadsName
18,82994,894fullstack
90,5639,810bitcoin_active_record
105,2907,689omnom
169,9902,739rails8_spree_core
178,4992,123harpiya_core

Depends on

RankDownloadsName
81,330,047,653rake
141,221,627,667minitest
36793,912,258activerecord
56091,349,223mocha

Owners

#GravatarHandle
1iconholli