attribute_normalizer

0.46
This rubygem does not have a description or summary.
 Popularity
Downloads
1,162,364
Stars
459
Forks
50
Watchers
9
 Releases
Current version
1.2.0
Total releases
17
First release
Latest release

strip_attributes

0.38
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,153,938
Stars
250
Forks
33
Watchers
6
 Releases
Current version
1.8.0
Total releases
20
First release
Latest release

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
525,958
Stars
170
Forks
20
Watchers
11
 Releases
Current version
2.3.0
Total releases
13
First release
Latest release

rubiety/nilify_blanks

0.19
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
27
Watchers
4

strip_control_chars

0.01
a small ActiveRecord plugin that removes ASCII control chars from attributes
 Popularity
Downloads
9,944
Stars
5
Forks
1
Watchers
3
 Releases
Current version
2.1
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,878
Stars
8
Forks
1
Watchers
1
 Releases
Current version
1.0.3
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,860
Stars
3
Forks
0
Watchers
1
 Releases
Current version
0.3.4
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,343
 Releases
Current version
1.2.2
Total releases
8
First release
Latest release

scrubby

0.01
Clean up your incoming ActiveRecord model attributes
 Popularity
Downloads
13,359
Stars
20
Forks
3
Watchers
0
 Releases
Current version
0.3.1
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,427
Stars
2
Forks
0
Watchers
1
 Releases
Current version
0.2.2
Total releases
9
First release
Latest release