% trace = segment[:backtrace] %>
<% unique_id = "_#{trace.object_id}_#{(rand * 100000).to_i}" %>
显示Rails框架的调用堆栈
隐藏Rails框架的调用堆栈
<%= application_stack_trace(trace, false).collect { |trace_line| write_stack_trace_line(trace_line)}.join("
") %>
<%= application_stack_trace(trace, true).collect { |trace_line| write_stack_trace_line(trace_line)}.join("
") %>