Active Record Value Cleanup

Attribute normalizer

This rubygem does not have a description or summary.

Rubygem attribute_normalizer

Total Downloads
265458
Releases
17
Current Version
1.2.0
Released
2014-07-10 00:00:00 UTC
First Release
2010-01-01 07:00:00 UTC
Depends on following gems
Depending Gems
8

Github mdeering/attribute_normalizer

Watchers
391
Forks
37
Development activity
Inactive
Last commit
2014-07-28 15:33:11 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
165916
Releases
18
Current Version
1.7.0
Released
2015-02-11 00:00:00 UTC
First Release
2011-08-14 00:00:00 UTC
Depending Gems
1

Github rmm5t/strip_attributes

Watchers
144
Forks
28
Development activity
Less active
Last commit
2015-03-26 17:45:10 UTC

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
116
Forks
13
Development activity
Less active
Last commit
2015-01-24 18:56:26 UTC
Top contributors
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
85276
Releases
10
Current Version
2.0.6
Released
2014-07-29 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
87
Forks
14
Development activity
Inactive
Last commit
2014-08-13 13:56:05 UTC
First commit
Top contributors
Contributors
4
Issues

Scrubby

Clean up your incoming ActiveRecord model attributes

Rubygem scrubby

Total Downloads
9018
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
18
Forks
2
Development activity
Inactive
Last commit
2010-01-26 15:38:46 UTC
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
9857
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
3
Development activity
Inactive
Last commit
2013-01-25 23:36:09 UTC
First commit
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
7116
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

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
13446
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
2
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
10636
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
6941
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.