RubyGems Navigation menu

active_stripper 0.2.0

Strip or preprocess Active Record / Object attributes by creating custom setter through module prepending. Work with any Object in ruby and still allow custom setter to be defined inside the class. For exemple, can lowercase an email field during attribute setting for ActiveRecord instances instead of having to hook on validation hook on ActiveRecord.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.1.0 - October 08, 2017 (6.5 KB)
  2. 1.0.1 - September 13, 2017 (6 KB)
  3. 1.0.0 - September 08, 2017 (6 KB)
  4. 0.3.0 - August 24, 2017 (6 KB)
  5. 0.2.0 - August 23, 2017 (5.5 KB)
Show all versions (7 total)

Development Dependencies (3):

bundler ~> 1.11
rake ~> 10.0
rspec ~> 3.0

Owners:

Authors:

  • François TCHENG

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 13,304

For this version 2,105

License:

MIT

Required Ruby Version: ~> 2.0

Links: