Rails 6.1 Deprecates update_attributes
In Rails 6.1, the
update_attributes method will no longer work. The straightforward fix is the change the method call to
update instead. Turns out
update_attributes has been an alias for
update for years now, and this deprecation finally makes it official.
Hat Tip to: https://rubyinrails.com/2019/04/09/rails-6-1-activerecord-deprecates-update-attributes-methods/Tweet