diff options
author | taryn <teast@globalpersonals.co.uk> | 2009-08-21 09:45:29 +0100 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-08-21 14:49:59 -0500 |
commit | ce61a6bd551a96205892a125c8835c4bc69c4fad (patch) | |
tree | 853cf3ffa9676d3535e49d2cd06b04033423c32b /actionpack/lib/abstract_controller.rb | |
parent | 8bc3a147270546325458da65ae6f5e83dd260aeb (diff) | |
download | rails-ce61a6bd551a96205892a125c8835c4bc69c4fad.tar.gz rails-ce61a6bd551a96205892a125c8835c4bc69c4fad.tar.bz2 rails-ce61a6bd551a96205892a125c8835c4bc69c4fad.zip |
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>
Diffstat (limited to 'actionpack/lib/abstract_controller.rb')
0 files changed, 0 insertions, 0 deletions