RubyGems Navigation menu

strip_attributes 1.4.2

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.13.0 - May 13, 2022 (12 KB)
  2. 1.12.0 - December 20, 2021 (12 KB)
  3. 1.11.0 - April 02, 2020 (12 KB)
  4. 1.10.1 - April 02, 2020 (12 KB)
  5. 1.10.0 - March 31, 2020 (12 KB)
  6. 1.4.2 - March 24, 2013 (7.5 KB)
Show all versions (29 total)

Runtime Dependencies (1):

activemodel < 5.0, >= 3.0

Development Dependencies (3):

active_attr ~> 0.7
rake ~> 10.0

Owners:

Authors:

  • Ryan McGeary

SHA 256 checksum:

e5aed6474678d01db4b75d464b383989ce54cecc0d9b5d8db2f24341fbb5afb8

Total downloads 11,399,541

For this version 10,571

License:

MIT

Required Ruby Version: None

Links: