Tuesday, February 24, 2009

Save vs Save! ROR

I had a weird problem today where the DB record was not getting saved and I was not getting an error, it was failing silently. By replacing the Rails save with the validation version of that "Save!" I got the error and figured out the error was happening validating the model.