I am trying to get the rendered result in Rails console.
Rabl.render(@post, 'api/v1/posts/show', view_path: 'app/views', format: :xml)
But it fails due to this issue:
NameError (undefined local variable or method `request' for #Rabl::Engine:0x000...)
I can't figure out what this means.
Please help me to fix it so that I can get the result.