I want to send a request for external software when I am sure that the model is saved.
1) How to determine the order in which after_create is called?
2) does it cause a call to the failed creature?
The RAILS API documentation says:
Note that this callback is still wrapped in a transaction around the save.
3) Does this mean that save requires success to be successful before after_save is after_save or does it mean that when the save call is called after_save always fires?
ruby-on-rails activerecord
Tyler blatt
source share