ActiveRecord::SerializationFailure

SerializationFailure will be raised when a transaction is rolled back by the database due to a serialization failure.