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,250 of 199,228
Downloads: 11,688,495

Daily

Ranking: 1,765 of 199,184
Downloads: 14,363

Depended by

RankDownloadsName
19,53696,750fullstack
90,61610,435bitcoin_active_record
107,1157,930omnom
166,6443,342rails8_spree_core
181,7672,305harpiya_core

Depends on

RankDownloadsName
71,480,270,976rake
141,358,956,518minitest
37876,949,277activerecord
547101,830,880mocha

Owners

#GravatarHandle
1iconholli