Active Record Value Cleanup

Attribute normalizer

Attribute normalizer that excepts code blocks.

Rubygem attribute_normalizer

Total Downloads
132554
Releases
16
Current Version
1.2.0.b
Released
2013-08-30 00:00:00 UTC
First Release
2010-01-01 07:00:00 UTC
Depends on following gems
Depending Gems
7

Github mdeering/attribute_normalizer

Watchers
345
Forks
29
Development activity
Less active
Last commit
2013-11-10 10:45:48 UTC

Strip attributes

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.

Rubygem strip_attributes

Total Downloads
88903
Releases
16
Current Version
1.5.1
Released
2014-03-25 00:00:00 UTC
First Release
2011-08-14 00:00:00 UTC
Depending Gems
1

Github rmm5t/strip_attributes

Watchers
95
Forks
19
Development activity
Less active
Last commit
2014-01-17 00:14:56 UTC
Contributors
9
Issues

Nilify blanks

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.

Github rubiety/nilify_blanks

Watchers
69
Forks
7
Development activity
Less active
Last commit
2013-12-09 16:50:21 UTC
Contributors
5
Issues

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.

Rubygem auto_strip_attributes

Total Downloads
41662
Releases
8
Current Version
2.0.4
Released
2013-10-04 00:00:00 UTC
First Release
2011-08-26 00:00:00 UTC
Depends on following gems
Depending Gems
2

Github holli/auto_strip_attributes

Watchers
50
Forks
9
Development activity
Inactive
Last commit
2014-02-11 18:30:18 UTC
First commit
Top contributors
Contributors
3
Issues
Wiki pages

Scrubby

Clean up your incoming ActiveRecord model attributes

Rubygem scrubby

Total Downloads
7525
Releases
6
Current Version
0.3.1
Released
2010-01-26 05:00:00 UTC
First Release
2010-01-23 05:00:00 UTC
Depends on following gems
Depending Gems
0

Github laserlemon/scrubby

Watchers
15
Forks
1
Development activity
Inactive
Last commit
2010-01-26 15:38:46 UTC
Top contributors
Contributors
1
Issues

vacuum_cleaner

Ruby (and Rails) attribute cleaning support, provides some nice and easy to enhance default normalization strategies.

Rubygem vacuum_cleaner

Total Downloads
5806
Releases
5
Current Version
1.0.3
Released
2010-10-06 22:00:00 UTC
First Release
2010-02-23 23:00:00 UTC
Depends on following gems
Depending Gems
0

Github lwe/vacuum_cleaner

Watchers
7
Forks
1
Development activity
Inactive
Last commit
2012-08-22 11:17:09 UTC
First commit
Top contributors
Contributors
1
Issues

sanitized_attributes

A wrapper to make automatic sanitization of incoming data easier. Uses the sanitize gem and works in both plain Ruby and Rails projects.

Rubygem sanitized_attributes

Total Downloads
7893
Releases
8
Current Version
1.2.2
Released
2011-05-27 07:00:00 UTC
First Release
2010-10-11 07:00:00 UTC
Depends on following gems
Depending Gems
0

Github mboeh/sanitized_attributes

Watchers
0
Forks
1
Development activity
Inactive
Last commit
2013-01-25 23:36:09 UTC
First commit
Top contributors
Contributors
1
Issues

Normatron

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.

Rubygem normatron

Total Downloads
9451
Releases
15
Current Version
0.3.4
Released
2012-11-04 00:00:00 UTC
First Release
2012-08-22 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github fernandors87/normatron

Watchers
1
Forks
0
Development activity
Inactive
Last commit
2012-11-04 21:43:21 UTC
Top contributors
Contributors
1
Issues

clean_room

Work in progress, this will be a generic attribute sanitizer which can be used for sanitizing models and other objects holding data

Rubygem clean_room

Total Downloads
7805
Releases
9
Current Version
0.2.2
Released
2012-06-21 00:00:00 UTC
First Release
2012-06-19 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github ahmeij/clean_room

Watchers
1
Forks
0
Development activity
Inactive
Last commit
2012-06-21 08:28:55 UTC
First commit
Top contributors
Contributors
1
Issues

Strip control chars

a small ActiveRecord plugin that removes ASCII control chars from attributes

Rubygem strip_control_chars

Total Downloads
5630
Releases
4
Current Version
2.1
Released
2010-09-25 14:00:00 UTC
First Release
2009-05-05 14:00:00 UTC
Depends on following gems
Depending Gems
0

Github yob/strip_control_chars

Watchers
3
Forks
0
Development activity
Inactive
Last commit
2010-09-26 03:59:34 UTC
Top contributors
Contributors
1
Issues
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.