class ActionView::Base
def initialize(lookup_context, assigns, controller) # :nodoc:
def initialize(lookup_context, assigns, controller) # :nodoc: @_config = ActiveSupport::InheritableOptions.new @lookup_context = lookup_context @view_renderer = ActionView::Renderer.new @lookup_context @current_template = nil assign_controller(controller) _prepare_context super() # Assigns must be called last to minimize the number of shapes assign(assigns) end