method

flatten_deeper

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::AssociationProxy
flatten_deeper(array) private

Array#flatten has problems with recursive arrays. Going one level deeper solves the majority of the problems.

Show source
Register or log in to add new notes.