method
new
new(owner, reflection)
public
Hide source
# File activerecord/lib/active_record/associations/association_proxy.rb, line 54 def initialize(owner, reflection) @owner, @reflection = owner, reflection reflection.check_validity! Array(reflection.options[:extend]).each { |ext| proxy_extend(ext) } reset end