Hi,

I`ve got one trouble. I`ve got order of rooms(order by id), but I`m
choosing available one, after that I would like to send the room,
which was taken on the last place. Something like this I have:

1.room(id = 1) 2. room (id = 2) 3. room (id = 3) I will take first
room, but after that I would like to have:
2.room (id = 2) 3.room (id = 2) 1.room (id = 3), it doesn`t have to be
id it might be rank or something like that.

I would appreciate if you could help.

Thank you Janka

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to