RubyGems Navigation menu

auto_strip_attributes 2.3.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.3.0 - February 06, 2018 (11 KB)
  2. 2.2.0 - September 23, 2017 (11 KB)
  3. 2.1.0 - July 28, 2016 (10.5 KB)
  4. 2.0.6 - July 29, 2014 (10 KB)
  5. 2.0.5 - July 03, 2014 (10 KB)
Show all versions (13 total)

Runtime Dependencies (1):

Authors:

  • Olli Huotari

Owners:

8e2b19390e10338e725eded7c798c8a7

SHA 256 checksum:

6284edb8b6e1b3286a6254f9459107db745c0f98de36836623bab53ac53a62e4

Total downloads 525,957

For this version 3,110

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: