Are after_create and after_save the same as per functionality?
after_create
after_save
I want to do an operation with the email of a user after its account creatio
From the docs:
after_create() Is called after Base.save on new objects that haven‘t been saved yet (no record exists). after_save() Is called after Base.save (regardless of whether it‘s a create or update save).
after_create()
Is called after Base.save on new objects that haven‘t been saved yet (no record exists).
Base.save
after_save()
Is called after Base.save (regardless of whether it‘s a create or update save).