This project is archived and is in readonly mode.
Add a :last scope to ActiveResource::Base.find
Reported by Adrian Mugnolo | August 4th, 2008 @ 04:36 PM | in 2.x
This patch adds a :last scope to ActiveResource::Base.find following ActiveRecord::Base semantics. A test case is included.
Person.find(:first, :from => :managers)
# => GET /people/managers.xml
Person.find(:last, :from => :managers)
# => GET /people/managers.xml
The patch also removes trailing whitespace in order to match Rails coding style.
Comments and changes to this ticket
-
Repository August 22nd, 2008 @ 03:07 AM
- State changed from new to resolved
(from [893fb5bb639b0938f6762ef1165b05abae255986]) Add ActiveResource::Base.find(:last). [#754 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 754 Add a :last scope to ActiveResource::Base.find (from [893fb5bb639b0938f6762ef1165b05abae255986]) Add Act...