spec/rails_root/spec/render_spec.rb
# 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_with_unneeded_controller_variables
      @local_foo = "localfoo"
      @baz = "unneeded"
      render :template => 'test/erector_with_locals_from_erb.html.erb'
    end
def render_erector_partial_with_unneeded_controller_variables @local_foo = "localfoo" @baz = "unneeded" render :template => 'test/erector_with_locals_from_erb.html.erb' end
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .