# Problem using dry-view with rabl

**URL:** <https://discourse.dry-rb.org/t/problem-using-dry-view-with-rabl/659>\
**Category:** Support\
**Created:** [November 29, 2018, 3:38pm UTC](https://discourse.dry-rb.org/t/problem-using-dry-view-with-rabl/659 "2018-11-29T15:38:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickenharp](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.dry-rb.org/rickenharp/32/12_2.png) [@rickenharp](https://discourse.dry-rb.org/u/rickenharp)\
**Post date:** [November 29, 2018, 3:38pm UTC](https://discourse.dry-rb.org/t/problem-using-dry-view-with-rabl/659/1 "2018-11-29T15:38:28Z")

</div>

I tried adding dry-view to a small app that was using [roda](https://github.com/jeremyevans/roda) and the render plugin to render Dry::Struct objects to JSON via [rabl](https://github.com/nesquena/rabl).

This did not work as expected, all the child nodes of the object were empty when rendering with Dry::View.

I managed to boil the problem down as much as possible [in this repo](https://github.com/rickenharp/rabl-dry-view), showing the difference between rendering directly with [tilt](https://github.com/rtomayko/tilt), and using dry-view.

Is there any way to successfully use rabl with dry-view?
