RubyGems.org

The default_value_for plugin allows one to define default values for ActiveRecord models in a declarative manner

installgem install default_value_for
Authors

Hongli Lai

306,103 total downloads 10,963 for this version
Owners

Bd69f15d15cfdcd152330c15653750ab5766afa2274a38f8e9f66954dc568e35

Licenses

MIT

Gemfile
gem 'default_value_for', '~> 3.0.0.1'
Versions
  1. 3.0.0.1 May 30, 2014 (18 KB)
  2. 3.0.0 January 8, 2014 (16.5 KB)
  3. 2.0.3 May 23, 2013 (15 KB)
  4. 2.0.2 March 11, 2013 (14 KB)
  5. 2.0.1 June 4, 2012 (13 KB)
Show all versions (14 total)
Runtime Dependencies
  1. activerecord < 5.0, >= 3.2.0
Ruby Dependency
  1. >= 1.9.3