using an arrray as a parameter value in ActiveRecord

And even one more way to do it is:

   Event.find :all, :conditions => { :location_id => location_ids}

which generates the same SQL