Updating notes for setting custom serializer on README to use shortened syntax available in pending release.
This commit is contained in:
parent
9384af520f
commit
0619d811f4
|
@ -746,7 +746,7 @@ end
|
|||
By default, PaperTrail stores your changes as a YAML dump. You can override this with the serializer config option:
|
||||
|
||||
```ruby
|
||||
>> PaperTrail.config.serializer = MyCustomSerializer
|
||||
>> PaperTrail.serializer = MyCustomSerializer
|
||||
```
|
||||
|
||||
A valid serializer is a `module` (or `class`) that defines a `load` and `dump` method. These serializers are included in the gem for your convenience:
|
||||
|
|
Loading…
Reference in New Issue