intridea/grape-entity — pull request #45 by joelvh (2014-01-08 01:31:43+00:00)
Title: Ability to "flatten" nested entities into parent (e.g. for CSV)

This feature allows you to specify another entity to copy exposures from. It's useful when flattening a hierarchy for CSV. It also adds the `:object` option to exposures that can define an alternate object to get values from. (Specifying an alternate object is necessary when copying exposures because the exposures don't refer to the original entity/model anymore.)