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,337 of 186,961
Downloads: 8,372,722

Daily

Ranking: 1,923 of 186,954
Downloads: 4,820

Depended by

RankDownloadsName
3,8162,655,624spree_core
18,16290,597fullstack
88,5339,398bitcoin_active_record
105,5007,011omnom
177,1231,745harpiya_core
178,7251,353rails8_spree_core

Depends on

RankDownloadsName
101,140,169,777rake
151,066,025,325minitest
36705,075,808activerecord
64678,929,564mocha

Owners

#GravatarHandle
1iconholli