Skip to content

Commit 72e73e2

Browse files
authored
Merge pull request rails#47504 from yahonda/another_47478
Address `Passing the coder as positional argument` deprecation warning
2 parents 93b1d39 + 29208b5 commit 72e73e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/serialized_attribute_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def dump(obj)
377377
super&.freeze
378378
end
379379
end
380-
serialize :normal_blob, FrozenCoder.new(:normal_blob, Array)
380+
serialize(:normal_blob, coder: FrozenCoder.new(:normal_blob, Array))
381381
end
382382

383383
def test_is_not_changed_when_stored_in_mysql_blob_frozen_payload

0 commit comments

Comments
 (0)