method
new
new(owner, reflection)
public
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