Active Record Value Cleanup

Attribute normalizer

This rubygem does not have a description or summary.

Rubygem attribute_normalizer

Total Downloads
625927
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
7

Github mdeering/attribute_normalizer

Watchers
423
Forks
43
Development activity
Inactive
Last commit
2015-12-07 23:00:53 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
487401
Releases
20
Current Version
1.8.0
Released
2016-06-02 00:00:00 UTC
First Release
2011-08-14 00:00:00 UTC
Depending Gems
1

Github rmm5t/strip_attributes

Watchers
183
Forks
33
Development activity
Less active
Last commit
2016-02-18 22:29:06 UTC

symbolize

ActiveRecord/Mongoid enums with i18n

Rubygem symbolize

Total Downloads
460066
Releases
27
Current Version
4.5.2
Released
2014-12-06 00:00:00 UTC
First Release
2010-01-22 02:00:00 UTC
Depending Gems
3

Github nofxx/symbolize

Watchers
97
Forks
37
Development activity
Inactive
Last commit
2014-12-30 20:06:23 UTC
First commit
Contributors
18

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
168
Forks
18
Development activity
Inactive
Last commit
2016-04-08 23:28:00 UTC

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
192348
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
129
Forks
16
Development activity
Inactive
Last commit
2015-11-16 17:45:22 UTC
First commit
Top contributors
Contributors
5
Issues

Scrubby

Clean up your incoming ActiveRecord model attributes

Rubygem scrubby

Total Downloads
11424
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
19
Forks
3
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
12908
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

attr_symbol

Attributes marked with the attr_symbol method can be set using strings or symbols, but when accessed will always return symbols.

Rubygem attr_symbol

Total Downloads
13038
Releases
4
Current Version
0.0.4
Released
2011-01-27 08:00:00 UTC
First Release
2010-12-08 08:00:00 UTC
Depends on following gems
Depending Gems
0

Github jwinky/attr_symbol

Watchers
4
Forks
2
Development activity
Inactive
Last commit
2012-10-09 16:16:08 UTC
First commit
Top contributors
Contributors
2
Issues

vacuum_cleaner

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

Rubygem vacuum_cleaner

Total Downloads
9117
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
19424
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

Strip control chars

a small ActiveRecord plugin that removes ASCII control chars from attributes

Rubygem strip_control_chars

Total Downloads
8577
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
4
Forks
1
Development activity
Inactive
Last commit
2010-09-26 03:59:34 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
15410
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
×

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.