% base_dir = File.expand_path(File.dirname(__FILE__)) framework_trace = @exception.original_exception.backtrace.collect do |line| line.gsub(base_dir, "").gsub("/../config/environments/../../", "") end %>
Showing <%=h @exception.file_name %> where line #<%=h @exception.line_number %> raised <%=h @exception.message %>
<%=h @exception.source_extract %>
<%=h @exception.sub_template_message %>
Show template trace <%= render_file(@rescues_path + "/_request_and_response.rhtml", false) %>