# File activerecord/lib/active_record/associations/association_proxy.rb, line 207
def method_missing(method, *args)
if load_target
raise NoMethodError unless @target.respond_to?(method)
if block_given?
@target.send(method, *args) { |*block_args| yield(*block_args) }
else
@target.send(method, *args)
end
end
end