Strange Record not saved errors

jeroen
Mon, 26 Mar 2007 08:19:36 -0000

I have a site with an acts_as_authenticated based login which has
started throwing up some strange errors. Until a few days ago
everything worked fine but all of a sudden ''RecordNotSaved''
errors are
popping up in my logs.

When I check the database, it looks like the record _is_ saved but I
think users get an error so I''m starting to see a lot of double/triple
entries for the same user. It doesn''t happen all the time and I
can''t
really reproduce it myself and the log entry is not very helpful so I
have no idea how to solve this.. I am not even sure which direction to
look.. could it be related to mysql performance errors or something?

This is the error I''m getting:

A ActiveRecord::RecordNotSaved occurred in account#signup:

  ActiveRecord::RecordNotSaved
  [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:
1398:in `save_without_validation!''