RE: [Rails] Application Error (Rails)

Hi all, I tried porting over the default Photos app from RoR: up and running, to my VPS hosted environemnt. I finally got everything up and running on apache, and the app worked for a few days with no problems. Then, yesterday, I started getting Application Error (Rails) whenever I would go to the slideshow mode of the project. This persisted until I cleared my mysql database and reloaded the data from scratch. This leads me to believe it was a problem with some of the mysql data, but I cannot confirm this. Is there any way to easily check which piece of data was causing the problem? Note that the logs did not tell me anything. Any way to tweak/configure mysql to avoid this in the future? Thanks, Brian