Updating notes for setting custom serializer on README to use shortened syntax available in pending release.

This commit is contained in:
Ben Atkins 2013-02-15 13:04:28 -05:00
parent 9384af520f
commit 0619d811f4
1 changed files with 1 additions and 1 deletions

View File

@ -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: