Because you won't need to run a query on one element?
On Wed, Jul 17, 2013 at 11:33 AM, Robin Dupret <robin.dup...@gmail.com>wrote: > Hello, > > Sorry if this has been still answered, I haven't found nothing on it. I > would love to know why ActiveRecord::Base#last doesn't return an > ActiveRecord::Relation just like all or where since an > ActiveRecord::Relation can act more or less like an array (as specified > here<https://github.com/rails/rails/commit/0a6833b6f701c8c8febadfe2f45e25df29493602> > )? > > Thanks, have a nice day. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Mohamed Wael Khobalatte -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.