It would make the most sense to me if Event.get_filtered_events returned
an array of events. If it did then you could simply append events to
the end of the array in your loop with:
@event_types.each do |event_type| @events += get_filtered_events_by_type(event_type.id)
end
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.