We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ec7e8 commit 257da89Copy full SHA for 257da89
activerecord/lib/active_record/persistence.rb
@@ -583,7 +583,7 @@ def update!(attributes)
583
584
# Equivalent to <code>update_columns(name => value)</code>.
585
def update_column(name, value, touch: nil)
586
- update_columns(name => value, :touch => touch)
+ update_columns(name => value, touch: touch)
587
end
588
589
# Updates the attributes directly in the database issuing an UPDATE SQL
0 commit comments