method
construct_scope
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::HasAndBelongsToManyAssociation
construct_scope()protected
No documentation available.
# 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