method

new

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::AssociationProxy
new(owner, reflection) public

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 58
      def initialize(owner, reflection)
        @owner, @reflection = owner, reflection
        @updated = false
        reflection.check_validity!
        Array.wrap(reflection.options[:extend]).each { |ext| proxy_extend(ext) }
        reset
      end
Register or log in to add new notes.