Is there callback method for field level?
Generally, after_create and after_save will fire at object level.
I need to fire some code when the value for the field is changed. I need to call the call back method from observer
Is there callback method for field level?
Generally, after_create and after_save will fire at object level.
I need to fire some code when the value for the field is changed. I need to call the call back method from observer
when the value is updated for object.attribute1, I need to write some logic in the observer.
after_create(object) will not work for me since I cannot set the value for the object.attribute1 when the object is created. I should set the value after the object is created as per requirement. So I need the observer to look for the change and act accordingly