Model.find causes errors except for certain calls

For some reason, Model.find just causes errors when I use it. (Causes "Application Error (Rails)") Here's the weird part though, I know it's able to talk to the database, because this will work: Command.find(:all), or this command = Command.find(:all, :conditions => ["name = ?", findByName]) but command = Command.find(:first, :conditions => ["name = ?", findByName]) won't; even Command.find(1) will not work, and I've double checked the sql table and id is set as the primary_key.

Before anyone can help you, I think you'll have to show the actual
code you're using, and the specific error and line on which it is
occurring from the log.