This project is archived and is in readonly mode.

Changeset [ce61a6bd551a96205892a125c8835c4bc69c4fad] by taryn

August 21st, 2009 @ 08:49 PM

Added first/last/all aliases for equivalent find scopes

Just a copy from Active Record (with tests). Each is a warpper function for the equivalent scoped call to find eg first is a wrapper for find(:first)

Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

Committed by taryn

  • M activeresource/lib/active_resource/base.rb
  • M activeresource/test/cases/finder_test.rb

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>