I'm looking to get some help answering a design problem I'm facing. I'm
definitely familiar with how models house all the business logic, but
when it RoR, I'm somewhat confused
If I have Users, and they have a HABTM relationship to Messages:
What is the best practice to check two criteria for a kind of
The first being simply evaluating the HABTM relationship using
The second being that a user can see all messages where Public==true?
Both are separate, yet I want to be able to generate one list from these
two separate criteria in one call, mixing the results.
Hopefully I'm clear enough, thanks in advance for any help!