RubyGems Navigation menu

strip_attributes 1.5.1

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.

Gemfile
          gem 'strip_attributes', '~> 1.5.1'
  
  
  
  
  
  
  

install
          gem install strip_attributes
  
  
  
  
  
  
  

Authors:

  • Ryan McGeary

Owners:

Licenses:

  • MIT

Total downloads 122,036

For this version 18,038

Show all versions (16 total)

Required Ruby Version: >= 0

Links:

Versions:

  1. 1.5.1 - March 25, 2014 (9.5 KB)
  2. 1.5.0 - January 16, 2014 (9.5 KB)
  3. 1.4.4 - July 18, 2013 (8.5 KB)
  4. 1.4.3 - April 22, 2013 (7.5 KB)
  5. 1.4.2 - March 24, 2013 (7.5 KB)
Show all versions (16 total)

Runtime Dependencies: