Closed jgeiger closed 13 years ago
I'm getting an issue with content being rendered twice when I try to include data via a block. It might be a rails issue, but it manifests when I use jammit to render my css/js.
I created an app that demonstrates the issue. http://github.com/jgeiger/double_render_bug
This is also a bug that was filed with rails that I attached my app to since it seems to be very similar. https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2279-render-layout-with-block-and-multiple-yields#ticket-2279-15
If you put something inside of that admin_only block that isn't a Jammit tag, does it get double-rendered as well?
admin_only
Sigh. I should have gone a bit further. This has nothing to do with jammit it seems. My bad.
I'm getting an issue with content being rendered twice when I try to include data via a block. It might be a rails issue, but it manifests when I use jammit to render my css/js.
I created an app that demonstrates the issue. http://github.com/jgeiger/double_render_bug
This is also a bug that was filed with rails that I attached my app to since it seems to be very similar. https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2279-render-layout-with-block-and-multiple-yields#ticket-2279-15