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

Recycler view not scrolling properly after implementing swipe to refresh layout

android android-recyclerview swiperefreshlayout recyclerview-layout

Prior to the implementation of the Swipe to refresh view, the recycler view was working smoothly but not whenever I try to scroll the recycler view downwards the swipe to refresh interferes and hin...

Why can't I use a space in my array program?

c++ c arrays

If my input is a long name like "lsdhfjkhsdkjhfgkjhasd", then it is OK to print out. But if I use a space between a name like "fsdaf fdsaf dsaf ", then it does not show.