I saw that some object.save is causing the SQL request to crash, but I
don't see the SQL request in the logs (only ruby code that's showing an
error during the .save method).
Is there any way to show the SQL request before it's issued to the
database ?
I have been seeing this a bit too. Situations where a failure to
updated the database does not result in an error being logged. I also
think I have seen it in other circumstances too (although I suspect
these may be HAML related).
One circumstance whereby I did not receive a mysql error in the log
was after changing some code to access a model attribute, but where
that attribute had not been added to the table. But trying to
subsequently reproduce the situation has not been possible.