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.

Required Ruby Version

>= 2.0

Authors

François TCHENG

Versions

  1. 1.1.1
    1. source

      1. 1.1.1 source October 21, 2024 (6.5 KB)
  2. 1.1.0
    1. source

      1. 1.1.0 source October 08, 2017 (6.5 KB)
  3. 1.0.1
    1. source

      1. 1.0.1 source September 13, 2017 (6 KB)
  4. 1.0.0
    1. source

      1. 1.0.0 source September 08, 2017 (6 KB)
  5. 0.3.0
    1. source

      1. 0.3.0 source August 24, 2017 (6 KB)
Show all versions (8 total)

Pushed by

SHA 256 checksum