RubyGems.org

Being included in a model, the library patches ActiveRecord::Base.default_scope to take a proc and have an optional name.

installgem install dynamic_default_scoping -v 0.0.2
Authors

Ivan Ukhov

6,971 total downloads 1,473 for this version
Owners

Af8447c210be3f9ebaf878a33db5b3e5

Gemfile
gem 'dynamic_default_scoping', '~> 0.0.2'
Versions
  1. 0.0.4 February 8, 2011 (7 KB)
  2. 0.0.3 January 29, 2011 (7 KB)
  3. 0.0.2 January 29, 2011 (6.5 KB)
  4. 0.0.1 January 29, 2011 (6.5 KB)
Runtime Dependencies
  1. rails = 3.0.3
Development Dependencies
  1. mysql2 ~> 0.2.6
  2. rspec ~> 2.4.0