RubyGems Navigation menu

active_stripper 1.1.0

Strip / preprocess selected 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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.1.0 - October 08, 2017 (6.5 KB)
  2. 1.0.1 - September 13, 2017 (6.0 KB)
  3. 1.0.0 - September 08, 2017 (6.0 KB)
  4. 0.3.0 - August 24, 2017 (6.0 KB)
  5. 0.2.0 - August 23, 2017 (5.5 KB)
显示所有版本 (共 7 个)

Development 依赖 (3):

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

业主:

作者:

  • François TCHENG

SHA 256 校验和:

b08a4e8e17e9b02a94a0be6aa447fba00ecba2c63aca98ebea933a457d1d5afe

下载总量 13,291

这个版本 2,730

许可:

MIT

需要的 Ruby 版本: ~> 2.0

链接: