ccocchi / rabl-rails

Rails 4.2+ templating system with JSON, XML and Plist support.
MIT License
209 stars 51 forks source link

Fix `glue` to support full template stack #20

Closed fnordfish closed 11 years ago

fnordfish commented 11 years ago

The current implementation of glue support the glued content to use attributes only. So glue should basically do the same thing as child (except supporting collections) but merge the result into the parent object instead of injecting it at a given key.