Learn how to use Rails attribute changed callback to perform an action when a specific attribute of an Active Record model changes.

2m read timeFrom greg.molnar.io
Post cover image
Table of contents
Hire me for a penetration testDid you enjoy reading this? Sign up to the Rails Tricks newsletter for more content like this!Or follow me on TwitterI run an indie startup providing vulnerability scanning for your Ruby on Rails app.

Sort: