DEV Community

Scott McKeon
Scott McKeon

Posted on

Useful out-of-the-box callbacks for ActiveRecord

before_save will run the code before the record is saved
for a full list, check out the rails guide

Oldest comments (0)