How to make Rails helper methods available when calling render_to_string to render a template ApplicationController.new.render_to_string works for me