static public Method

TemplateError.new(template, assigns, original_exception)

There's no documentation for this item.

Source Code

# File action_view/template_error.rb, line 9
def initialize(template, assigns, original_exception)
  @base_path = template.base_path_for_exception
  @assigns, @source, @original_exception = assigns.dup, template.source, original_exception
  @file_path = template.filename
  @backtrace = compute_backtrace
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.