From 6e100bc9dae32dba634d1ad09a7878279733ba1b Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Fri, 11 Nov 2011 14:29:19 +0100 Subject: [PATCH] Tweak README. --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04709e70..3255af72 100644 --- a/README.md +++ b/README.md @@ -348,14 +348,18 @@ This allows you to store each model's versions in a separate table, which is use Alternatively you could store certain metadata for one type of version, and other metadata for other versions. -You can also specify a custom names for versions and version associations. This is useful if you already have `versions` or/and `version` methods on your model. For example: +You can also specify custom names for the versions and version associations. This is useful if you already have `versions` or/and `version` methods on your model. For example: class Post < ActiveRecord::Base has_paper_trail :versions => :paper_trail_versions, :version => :paper_trail_version - # Existing version(s) method. We don't want to clash. - def version(s) + # Existing versions method. We don't want to clash. + def versions + ... + end + # Existing version method. We don't want to clash. + def version ... end end