.find() with contents of Array

Hello all,
I’m on my 4th month with Ruby on Rails. I’m doing good, I think, but
have a long way to go.

I have an array with several IDs.

Array
[1,4,6,10,40]

I wish to perform a find() on a Model, on each of these IDs, then be
able to send the results to a view.

Thank you for any help on this.

JohnM

Well,
I found out that I just do this…

m = Array

Model.find(m)

That gives me my results.

Thanks,

John