The ActiveRecord that would not save

I have just seriously spent four hours debugging the most inane bug, this year, so far. In an ActiveRecord before_create method, I was setting a boolean value based on a bunch of fields in the object. My specs kept returning ActiveRecord::RecordNotFound all of a sudden, but the errors hash was empty. The database was fine, too. And no matter what I would do, these records would just not persist to the database. Aargh! Finally I gave up and had a snack. After coming back and spending quite some time staring at the problem I did a quick Google and lo and behold. When a before filter in ActiveRecord returns false, the save is cancelled. Yeeeaaaahh. Gotcha!