Array variable inside a find statement

yours should work fine if you didn't convert it into a string!

ids = Array.new()
ids << 3
ids << 5
ids << 7

@people = Person.find(ids)