method

flatten_deeper

Importance_1
v2.3.8 - 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.