I am running into some trouble joining on a table that I have -- lets say I have a user who has some optional set of hobbies, so I join on the user_hobbies table. It works really well, but I have been running into an issue where users who have not selected any hobbies are missing completely (presumably because it's joining on the table even if it's not being currently filtered).
Is there a way to get the gem to return all users, even those that do not have items in the inner_join table?
I am running into some trouble joining on a table that I have -- lets say I have a user who has some optional set of hobbies, so I join on the user_hobbies table. It works really well, but I have been running into an issue where users who have not selected any hobbies are missing completely (presumably because it's joining on the table even if it's not being currently filtered).
Is there a way to get the gem to return all users, even those that do not have items in the inner_join table?