RubyGems Navigation menu

strip_attributes 1.10.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:
= 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)
Show all versions (29 total)

Runtime Dependencies (1):

activemodel >= 3.0, < 7.0

Development Dependencies (5):

active_attr ~> 0.10
minitest >= 5.0, < 6.0
minitest-reporters >= 0.14.24
rake >= 0

Owners:

Pushed by:

Authors:

  • Ryan McGeary

SHA 256 checksum:

d423089fbd45bbb1148de7f73952420e71f03bacae619d9d664ea9287f3a23c5

Total downloads 11,545,188

For this version 1,387

License:

MIT

Required Ruby Version: >= 1.9.3

Links: