Acts as Callbackable

This gem makes it easy to call specific methods when targeted attributes are changed in an ActiveRecord model. Simply call acts_as_callbackable within the model class, and then define callback methods with the following format: def on_<attribute>_changed(payload)

# Do something

end

The payload argument is the previous value of the attribute.