Rails 6 has a rich API that allows you to update your ActiveRecord objects in several different ways. Some methods have slightly different behavior which can sometimes result in unexpected consequences so its important to understand their differences. […] Heres a cheat sheet highlighting the differences between all the methods available for setting attributes in Rails 6:

Source: Different Ways to Set Attributes in ActiveRecord (Rails 6)

This is a useful cheat sheet. I wish the naming were a little more straightforward (especially for newbies), but this table helps!