method
last
rails latest stable - Class:
ActiveRecord::NamedScope::Scope
last(*args)public
No documentation available.
# File activerecord/lib/active_record/named_scope.rb, line 136
def last(*args)
if args.first.kind_of?(Integer) || (@found && !args.first.kind_of?(Hash))
proxy_found.last(*args)
else
find(:last, *args)
end
end