method
merge_options_from_reflection!
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::AssociationProxy
merge_options_from_reflection!(options)protected
No documentation available.
# File activerecord/lib/active_record/associations/association_proxy.rb, line 155
def merge_options_from_reflection!(options)
options.reverse_merge!(
:group => @reflection.options[:group],
:limit => @reflection.options[:limit],
:offset => @reflection.options[:offset],
:joins => @reflection.options[:joins],
:include => @reflection.options[:include],
:select => @reflection.options[:select],
:readonly => @reflection.options[:readonly]
)
end