spec/rails_root/spec/render_spec.rb
def render_erector_partial_without_controller_variables
      with_controller_assigns_propagate_to_partials(Views::Test::PartialWithLocals, false) do
        @local_foo = "localfoo"
        @bar = "barbar"
        render :template => 'test/erector_with_locals_from_erb.html.erb'
      end
    end
# Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .
def render_erector_partial_without_controller_variables
      with_controller_assigns_propagate_to_partials(Views::Test::PartialWithLocals, false) do
        @local_foo = "localfoo"
        @bar = "barbar"
        render :template => 'test/erector_with_locals_from_erb.html.erb'
      end
    end
def render_erector_partial_without_controller_variables with_controller_assigns_propagate_to_partials ( Views :: Test :: PartialWithLocals , false ) do @local_foo = "localfoo" @bar = "barbar" render :template => 'test/erector_with_locals_from_erb.html.erb' end end
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .