method
construct_scope

v2.1.0 -
Show latest stable
-
0 notes -
Class: ActiveRecord::Associations::HasAndBelongsToManyAssociation
construct_scope()
protected
Hide source
# File activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb, line 85 def construct_scope { :find => { :conditions => @finder_sql, :joins => @join_sql, :readonly => false, :order => @reflection.options[:order], :limit => @reflection.options[:limit] } } end