3 ms·
I know your point is that Ruby is where it's at, but do this: In the top line of config/boot.rb above EVERYTHING else, put this: require 'tracer' Trac
by sadfnjksdf 13y ago
I know your point is that Ruby is where it's at, but do this:
In the top line of config/boot.rb above EVERYTHING else, put this:
require 'tracer'
Tracer.on
Now, start Rails. Wow that's a lot, huh? Stop again. Now try replacing those two lines with:
set_trace_func proc { |event, file, line, id, binding, classname|
printf "%8s %s:%-2d %10s %8s\n", event, file, line, id, classname
}
Start it again. Lot going on there...
- pearjuice 13y agoAre you implying I even use that pile of turd?