Sha256: 19c2cfcd612791474f1f954fd5d03dd164e25e953d26b5edffeeee6a9d33b8da
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 Bytes
Contents
module Octopus module Rails2 module Scope def self.included(base) base.instance_eval do alias_method_chain :proxy_found, :octopus end end def proxy_found_with_octopus load_found end end end end ActiveRecord::NamedScope::Scope.send(:include, Octopus::Rails2::Scope)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ar-octopus-0.5.0 | lib/octopus/rails2/scope.rb |