I have a one-to-many relation between rooms and guests. A room has_many
guests, and a guest belongs_to a single room.
I’ve got a basic view for this, where I can show a room with a list of
guests belonging to it. The problem is I can see these relations, but
can’t add new guests to a room (The ones I see were associated via
I want to show a room with all its guests and a link that lets me add
guests to it. This link should take me to a list of all “roomless”
where I should be able to choose some of these guests and add them to a
I don’t know how to do this. Can you help me out?
Thanks a lot for your help.