Ruby on Rails Thursday, July 29, 2010

On Thu, Jul 29, 2010 at 11:15 AM, Mark Horrocks <lists@ruby-forum.com> wrote:
> Car.all.order("make") generates an error like "undefined method `order'
> for #<Array:0x7fd314476e38>"
>
> Is this a bug? It seems that it should work. Rails 3.0.0rc.

Car.order("make").all


--
Greg Donald
destiney.com | gregdonald.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment