Ruby on Rails Wax Trray

your_array.flatten(level)
Nimorum