Module: ActiveRecord::Associations::ThroughAssociationScope

Defined in:
lib/hobo/extensions/active_record/associations/scope.rb

Overview

No such module in ActiveRecord any more - there is only ThroughAssociation

Instance Method Summary collapse

Instance Method Details

#construct_scope_with_scopeObject



7
8
9
10
11
# File 'lib/hobo/extensions/active_record/associations/scope.rb', line 7

def construct_scope_with_scope
  s = construct_scope_without_scope
  s[:find][:scope] = @reflection.options[:scope]
  s
end