Skip to content

Commit bfd0078

Browse files
committed
Fix copy in activerecord CHANGELOG
1 parent 9424179 commit bfd0078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A not rare issue when working with serialized attributes is that the serialized representation of an object
44
can change over time. Either because you are migrating from one serializer to the other (e.g. YAML to JSON or to msgpack),
5-
or because the serializer used subtly changed it's output.
5+
or because the serializer used subtly changed its output.
66

77
One example is libyaml that used to have some extra trailing whitespaces, and recently fixed that.
88
When this sorts of thing happen, you end up with lots of records that report being changed even though
@@ -12,7 +12,7 @@
1212
can't assume the deserialized object has a working `==` method. Hence why this new functionality is opt-in.
1313

1414
```ruby
15-
serialized :config, type: Hash, coder: JSON, comparable: true
15+
serialize :config, type: Hash, coder: JSON, comparable: true
1616
```
1717

1818
*Jean Boussier*

0 commit comments

Comments
 (0)