rails 调试

陶宏浚
2023-12-01
#24 The Stack Trace
A plugin called Rails Footnotes will turn the lines from the stack trace into clickable links that will open the appropriate file in TextMate. To install it, run the following line from your app’s directory (you’ll need to have git installed on your machine).
terminal

git clone git://github.com/drnic/rails-footnotes.git vendor/plugins/footnotes
rm -rf vendor/plugins/footnotes/.git

Now, you can just click a line in the stack trace and immediately see the file in TextMate which makes finding your bugs even easier.
 类似资料: