Q:

rails how to use joins

User.joins(:groups).where(groups: {id: 1})
0

New to Communities?

Join the community