RubyGems Navigation menu

attr_cleaner 0.1.1

Strips spaces from attributes, and sets empty strings to nil. Can be used with Rails 3, in any ActiveRecord project, or with other ORMs that define write_attribute.

Gemfile
          gem 'attr_cleaner', '~> 0.1.1'
  
  
  
  
  
  
  

install
          gem install attr_cleaner
  
  
  
  
  
  
  

Authors:

  • Thomas Drake-Brockman

Owners:

Total downloads 11,441

For this version 2,175

Show all versions (6 total)

Required Ruby Version: None

Links:

Versions:

  1. 0.1.1 - December 31, 2010 (6.5 KB)
  2. 0.1.0 - December 31, 2010 (6 KB)
  3. 0.0.4 - December 30, 2010 (6 KB)
  4. 0.0.3 - December 29, 2010 (6 KB)
  5. 0.0.2 - December 29, 2010 (5.5 KB)
Show all versions (6 total)

Runtime Dependencies: