RubyGems Navigation menu

strip_attributes 1.4.0

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.

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:

Authors:

  • Ryan McGeary

Owners:

0f5f0ea6a2dc7ed3cb5830377a4fe7e2

Total downloads 123,409

For this version 1,119

Show all versions (16 total)

Required Ruby Version: None

Licenses:

MIT

Gemfile:
gem 'strip_attributes', '~> 1.4.0' = Copy to clipboard Copied!

install:
gem install strip_attributes -v 1.4.0 = Copy to clipboard Copied!

Links: