Hi,
Is there a way to specify and OR condition?
For example:
Message.find(1, :condition => {"profile_id = ? OR sender_id = ?", 2, 2})
Ultimately, I want to check whether a user has sent or received a message, but if I do them separate I an exception is thrown when the record is not found for one of the cases.