Can Rails Active Record understand two simultaneous relationships between two tables at once?
I have two tables, users and groups. A user can belong to many groups. A group can have many users.
So I have created a have_and_belongs_to_many relationship between users and groups using a join tab
问答
阅读(0)