Hi,

I have 2 types A (HABTM B) and B (HABTM A).

So I'm trying to get List of Bs belonging to A

A.Bs

but I'd like to get them ordered by B's name.
How can I ordered this array of Bs.

Thanks
-- 
Posted via http://www.ruby-forum.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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to