RubyGems Navigation menu

auto_strip_attributes 2.4.0

AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs. It works by adding a before_validation hook to the record. It has option to set empty strings to nil or to remove extra spaces inside the string.

Versions:

  1. 2.4.0 - March 25, 2018 (11.5 KB)
  2. 2.3.0 - February 06, 2018 (11 KB)
  3. 2.2.0 - September 23, 2017 (11 KB)
  4. 2.1.0 - July 28, 2016 (10.5 KB)
  5. 2.0.6 - July 29, 2014 (10 KB)
Show all versions (14 total)

Runtime Dependencies (1):

Authors:

  • Olli Huotari

Owners:

8e2b19390e10338e725eded7c798c8a7

SHA 256 checksum:

90a5afa1098ae3972875b4b3c0ca9ef083401fc579d27d24f2b99fe988f4e8b9

Total downloads 638,150

For this version 27,742

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: