How to find webrick bugs in NetBeans for Ror?

I'm starting my adventure with Ruby on Rails and as IDE I choose Netbeans. It has bundled server Webrick and it had worked good. But after some changes in my first application it gives me internal error 500 - but nothing shows in console. And older actions give the same result.

How can I find where the problem is? I work on Ubuntu system.


What you can also do is add the following line to your controller "application.rb":

ActiveRecord::Base.logger =

Then you will get debugging output in WEBrick's "Output" window within Netbeans.

Your best bet is to always have a terminal window open and to issue the follow

tail -f log/development.log

This will give you a real time, syntax colored feed of your log as you're working with your application.

Answered myself - logs/development.log

Need Your Help

How to generate random points around the curves of characters using processing?

text random processing points curves

I would like to generate random/noise points along each character of a multiple line text. I've tried this with the Geomerative library, but unfortunately it does not support multi line. Any other

jQuery.flash() vs messy default Flash Professional code

jquery html flash embedded-flashplayer

If i (rarely) put Flash onto a website i develop i would always use this: