method
method_missing
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::AssociationProxy
method_missing(method, *args)private
No documentation available.
# File activerecord/lib/active_record/associations/association_proxy.rb, line 172
def method_missing(method, *args)
if load_target
if block_given?
@target.send(method, *args) { |*block_args| yield(*block_args) }
else
@target.send(method, *args)
end
end
end