Closed john-bai closed 11 years ago
@jtherrell Hmm if you need to include helpers, you need to add them to RablRails::Renderer::Context
. So in your case, this should work
RablRails::Renderer::Context.send(:include, Rails.application.routes.url_helpers)
I was following the 'Render object directly' wiki and it seems this method doesn't have access to view/path helpers. If it's possible to do so, could you include some sample code of how to include helpers in that direct call?