You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the representer, accessing @stuff does not work:
node(:stuff) do
@stuff[:key]
end
Passing around locals due but I'm trying to access the Rails request context in my rabl representers. Any idea why this wouldn't work or am I misunderstanding the docs?
The text was updated successfully, but these errors were encountered:
I see in the documentation that we should be able to access instance variables in the rabl however it does not work for me.
In the representer, accessing
@stuff
does not work:Passing around locals due but I'm trying to access the Rails
request
context in my rabl representers. Any idea why this wouldn't work or am I misunderstanding the docs?The text was updated successfully, but these errors were encountered: