Active Record provides hooks (called callbacks) into an object's life cycle so that you can control your application and its data.
Callbacks allow you to trigger logic before or after an alteration of an object's state.
Callbacks are methods that get called at certain moments of an object's life cycle.
See more results on Neeva
Summaries from the best pages on the web
Active Record Callbacks Callbacks are hooks into the life cycle of an Active Record ... and dependent objects are deleted when ActiveRecord::Base#destroy is ...
Callbacks are methods that get called at certain moments of an object's life cycle. We can use callbacks as a means to manipulate objects further with built-in functionality that Ruby on Rails ships with.
Understanding Active Record Callbacks | Web-Crunch
Callbacks are a common way for you to execute code at specific times in the life cycle of an Active Record object, for instance just before it is created, ...
Active Record Callbacks | The Odin Project
Active Model Callbacks Provides an interface for any class to have Active Record like callbacks.