On Tue, Jun 17, 2014 at 6:38 AM, Walter Lee Davis <[email protected]> wrote:

> Your code is correct: some_reference.order('kind DESC') is the correct way to 
> get the order you are asking for.

?? Not, the OP originally posted:

  @card.idioms(:order => 'kind DESC')

which is 1) not equivalent, and 2) won't work.

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAy%2B_AzvjcGLEpm5Kn76CR77ZXaBSWA_QjjAOTrrvw-iQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to