Rails Callbacks

Executing code at specific points in an object’s lifecycle.