nesquena/rabl — Issue #146: Regression upgrading from 0.3.0 to 0.5.3
Author: minter
Created: 2011-12-30 21:54:01+00:00
State: open

I just upgraded our app from RABL 0.3.0 to 0.5.3, and am seeing an odd regression.

The views in question can be found at:

https://gist.github.com/1521e65db5146f5853fa

Those views work fine in 0.3.0. Under 0.5.3, though, I get a "Stack Level Too Deep" error.

```
Rendered as_roster/index.rabl (25.9ms)
Completed 500 Internal Server Error in 3289ms

ActionView::Template::Error (stack level too deep):

Rendered /Users/minter/.rvm/gems/ruby-1.9.2-p290@apiv2/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/minter/.rvm/gems/ruby-1.9.2-p290@apiv2/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/minter/.rvm/gems/ruby-1.9.2-p290@apiv2/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (89.2ms)
```

Did I miss a syntax change that would be causing this error?