method
construct_scope
v3.0.9 -
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 106 def construct_scope { :find => { :conditions => @finder_sql, :joins => @join_sql, :readonly => false, :order => @reflection.options[:order], :include => @reflection.options[:include], :limit => @reflection.options[:limit] } } end