awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.07k stars 454 forks source link

ArrayFormatter now returns arrays for has_many :through associations #332

Closed Chadh13 closed 6 years ago

Chadh13 commented 6 years ago

The array_formatter was always returning an empty array when associated objects were called via a has_many through: relationship because they are loaded as a collection, and the collection is always considered empty.

resolves: https://github.com/awesome-print/awesome_print/issues/331