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
Authors

Ivan Ukhov

6,360 total downloads 2,390 for this version
Owners

194bbc9ee8547872c488c2aa68affed7

Gemfile
gem 'dynamic_default_scoping', '~> 0.0.4'
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