I don\'t have any ideas. Could you give me any clues (like reference sites). Any help will be appreciated.
Model1: GROUP
Use a custom joins statement:
Group.joins("left outer join user_group_cmbs as cmb on groups.id = cmb.group_id") .where("cmb.user_id = ?", 1)