new(context = nil, assigns = {}, controller = nil, formats = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Show source
Register or log in to add new notes.
April 17, 2018
0 thanks

When using to render templates views

when calling this method to render templates to a string. in order to use any helper methods you need to add them to the view like this

view =, {})
view.class_eval do  
  # include any needed helpers (for the view)
  include ApplicationHelper