20300: Change deprecated update_attributes to update.
[arvados.git] / apps / workbench / app / views / layouts / body.html.erb
index 8b114478ba089e538e4e8b60a60f09b317370287..7cb00a15c00b60832261c36cb1162cc06e445248 100644 (file)
@@ -286,6 +286,6 @@ SPDX-License-Identifier: AGPL-3.0 %>
   <%
     prefs = current_user.prefs
     prefs[:getting_started_shown] = Time.now
-    current_user.update_attributes prefs: prefs.to_json
+    current_user.update prefs: prefs.to_json
   %>
 <% end %>