Share
Officially public starting in 5.0, the Rails attribute API gives you an easy way to extend ActiveRecord behavior.