Count total number of records in Rails join table

后端 未结 0 1799
傲寒
傲寒 2020-11-21 21:08

I have two models, users and departments, and a join table users_departments to enable a has_and_belongs_to_many association between them. I am using PostgreSQL as the datab

相关标签:
回答
  • 消灭零回复
提交回复
热议问题