method
method_missing
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::NamedScope::Scope
method_missing(method, *args, &block)private
No documentation available.
# File activerecord/lib/active_record/named_scope.rb, line 148
def method_missing(method, *args, &block)
if scopes.include?(method)
scopes[method].call(self, *args)
else
with_scope :find => proxy_options do
proxy_scope.send(method, *args, &block)
end
end
end