Howdy.
I want to build a rails query like the following. And would like to learn how so I can do it again on my own.
Pseudo Code:
@usersprojects = ?? Do I get record or just objects here? not sure?
SELECT * FROM audit_log WHERE project_id IN (@usersprojects)
IN the where IN () do I some how tell Rails to use the record.id?
thank you so much for helping me learn this. I want to Rails!