method

merge_options_from_reflection!

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::AssociationProxy
merge_options_from_reflection!(options) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.