I’m experimenting to understand how Rails deals with various errors.
When there’s a Ruby or Rails syntax error, we get the stack trace.
However, when there’s an SQL error, the entire application appears to be silent about it.
In dev mode, and made sure logging was explicitly set to debug.
If I do somthing like change a field name in a table to ensure a failure, the development.log says nothing about it. I know the query failed, and the partial which would have displayed data from the query doesn’t get drawn, so Rails has to be detecting failures somewhere – why no messages??
– gw (www.railsdev.ws)