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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs