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_needs_template_with_excess_variables_and_ignoring_extras
      @foobar = "foobar"
      @barfoo = "barfoo"
      render :template => 'test/needs.html.rb'
    end
def render_needs_template_with_excess_variables_and_ignoring_extras @foobar = "foobar" @barfoo = "barfoo" render :template => 'test/needs.html.rb' end
Let exceptions propagate rather than generating the usual error page.
Let exceptions propagate rather than generating the usual error page .