I have problem regarding querying database in rails database.
There are 2 models 'user' and 'interests'
Association between them is has_and_belongs_to_many
Now If I want to list common interests between two users. How do I query
I think, we have to write custom plsql statement.
Can I know your thoughts.