From 7a7483ec2602a55afe977ce52ec7cc1f0f2b8945 Mon Sep 17 00:00:00 2001 From: David Butler Date: Thu, 3 Jan 2013 16:28:16 -0800 Subject: [PATCH] Fixed documentation for custom serializer --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 434355d5..0a27c3f6 100644 --- a/README.md +++ b/README.md @@ -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.serializer = MyCustomSerializer +>> PaperTrail.config.serializer = MyCustomSerializer ``` The serializer needs to be a class that responds to a `load` and `dump` method. [See the default PaperTrail serializer](https://github.com/airblade/paper_trail/blob/master/lib/paper_trail/serializers/yaml.rb) for an example.