Simple question. I have a ActiveRecord model that I want to perform post processing on AFTER the record is saved. So in the model I have a queue_for_processing method that s
Yes, the callbacks are all wrapped up in a transaction.
Basically, the following will cause a rollback:
before_save or similar callbacksbefore_save or similar callbacksafter_save or similar callbacks (after_create)The following do NOT cause a rollback:
after_save or similar callbacksafter_commitIf you don't want an exception to cause a rollback, use after_commit