Category

Active Record Value Cleanup

This category does not have a description yet. You can add one on github!

0.44
A long-lived project that still receives updates
StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
0.31
Low commit activity in last 3 years
There's a lot of open issues
Provides a framework for saving incoming blank values as nil in the database in instances where you'd rather use DB NULL than simply a blank string.
0.25
A long-lived project that still receives updates
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.
0.01
No commit activity in last 3 years
No release in over 3 years
Ruby (and Rails) attribute cleaning support, provides some nice and easy to enhance default normalization strategies.
0.0
No commit activity in last 3 years
No release in over 3 years
Normatron is a Ruby On Rails plugin that perform attribute normalizations for ActiveRecord objects. With it you can normalize attributes to the desired format before saving them in the database. This gem inhibits the work of having to override attributes or create a specific method to perform most of the normalizations.
0.0
Repository is gone
No release in over 3 years
A wrapper to make automatic sanitization of incoming data easier. Uses the sanitize gem and works in both plain Ruby and Rails projects.
 Popularity
0.0
Repository is gone
No release in over 3 years
Work in progress, this will be a generic attribute sanitizer which can be used for sanitizing models and other objects holding data
 Popularity