Callback method for field

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
in the observer.

after_create(object) will not work for me since I cannot set the value
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs