Class: ActiveRecord::Associations::Preloader::Association
- Inherits:
-
Object
- Object
- ActiveRecord::Associations::Preloader::Association
- Defined in:
- lib/rcache/association.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#build_scope ⇒ Object
7 8 9 10 11 |
# File 'lib/rcache/association.rb', line 7 def build_scope scope = old_build_scope scope = scope.rcache([:rcache_value]) if [:rcache_value] scope end |
#old_build_scope ⇒ Object
5 |
# File 'lib/rcache/association.rb', line 5 alias :old_build_scope :build_scope |