Skip to content

Commit 257da89

Browse files
committed
Fix hash syntax
1 parent f4ec7e8 commit 257da89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/persistence.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def update!(attributes)
583583

584584
# Equivalent to <code>update_columns(name => value)</code>.
585585
def update_column(name, value, touch: nil)
586-
update_columns(name => value, :touch => touch)
586+
update_columns(name => value, touch: touch)
587587
end
588588

589589
# Updates the attributes directly in the database issuing an UPDATE SQL

0 commit comments

Comments
 (0)