Post.where() causing 500 error

so good of you to ask, and admittedly that helped… :smiley:

BUT perhaps you can assist further with my query! The issue was the input value
while I can do

ok
Post.where('user_id: '1,2') #works

Post.where('topic_id: '4,5')  #works

Fails
Post.where('user_id = ? or topic_id = ?', '1,2', '4, 5') #fails!

So again I assume! I’ll need to iterate over each user id, but… NOOOOB (assistance greatly appreciated!