Skip to content

Commit 0b32852

Browse files
Small tweaks on AR changelog [ci skip]
1 parent 50edf85 commit 0b32852

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

activerecord/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* ActiveRecord::Base.serialize now longer use YAML by default.
1+
* `ActiveRecord::Base.serialize` no longer uses YAML by default.
22

33
YAML isn't particularly performant and can lead to security issues
44
if not used carefully.
@@ -12,16 +12,16 @@
1212

1313
Some third party JSON libraries like `Oj` have a suitable strict mode.
1414

15-
So it's preferable if users chose a serializer based on their own constraints.
15+
So it's preferable that users choose a serializer based on their own constraints.
1616

1717
The original default can be restored by setting `config.active_record.default_column_serializer = YAML`.
1818

1919
*Jean Boussier*
2020

21-
* ActiveRecord::Base.serialize signature changed.
21+
* `ActiveRecord::Base.serialize` signature changed.
2222

23-
Rather than a single positional argument that accept two possible
24-
types of values, `serialize` now accept two distinct keyword arguments.
23+
Rather than a single positional argument that accepts two possible
24+
types of values, `serialize` now accepts two distinct keyword arguments.
2525

2626
Before:
2727

0 commit comments

Comments
 (0)