The Ruby Toolbox - Know your options!

attribute_normalizer

0.47
This rubygem does not have a description or summary.
 Popularity
Downloads
1,110,772
Stars
457
Forks
50
Watchers
9
 Releases
Total releases
17
First release
Latest release

strip_attributes

0.36
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.
 Popularity
Downloads
1,046,678
Stars
245
Forks
34
Watchers
6
 Releases
Total releases
20
First release
Latest release

rubiety/nilify_blanks

0.2
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.
 Popularity
Stars
202
Forks
28
Watchers
4

auto_strip_attributes

0.19
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.
 Popularity
Downloads
492,234
Stars
166
Forks
19
Watchers
10
 Releases
Total releases
12
First release
Latest release

strip_control_chars

0.01
a small ActiveRecord plugin that removes ASCII control chars from attributes
 Popularity
Downloads
9,883
Stars
5
Forks
1
Watchers
3
 Releases
Total releases
4
First release
Latest release

vacuum_cleaner

0.01
Ruby (and Rails) attribute cleaning support, provides some nice and easy to enhance default normalization strategies.
 Popularity
Downloads
10,802
Stars
8
Forks
1
Watchers
1
 Releases
Total releases
5
First release
Latest release

normatron

0.01
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.
 Popularity
Downloads
23,680
Stars
3
Forks
0
Watchers
1
 Releases
Total releases
15
First release
Latest release

sanitized_attributes

0.01
A wrapper to make automatic sanitization of incoming data easier. Uses the sanitize gem and works in both plain Ruby and Rails projects.
 Popularity
Downloads
15,245
 Releases
Total releases
8
First release
Latest release

scrubby

0.01
Clean up your incoming ActiveRecord model attributes
 Popularity
Downloads
13,270
Stars
20
Forks
3
Watchers
0
 Releases
Total releases
6
First release
Latest release

clean_room

0.0
Work in progress, this will be a generic attribute sanitizer which can be used for sanitizing models and other objects holding data
 Popularity
Downloads
18,300
Stars
2
Forks
0
Watchers
1
 Releases
Total releases
9
First release
Latest release