From 842e702b94fa3ade5911904a4d539b59e289117d Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Tue, 8 Feb 2011 13:16:53 +0000 Subject: [PATCH] Add Rails 3 / 2.3 instructions to README. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b78f55cb..196de8bd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ PaperTrail lets you track changes to your models' data. It's good for auditing ## Rails Version -Works on Rails 3 and Rails 2.3. Probably works on Rails 2.2 and 2.1. +Works on Rails 3 and Rails 2.3. The Rails 3 code is on the master branch and tagged v2.x. The Rails 2.3 code is on the Rails 2 branch and tagged 1.x. ## API Summary @@ -490,7 +490,7 @@ Over time your `versions` table will grow to an unwieldy size. Because each ver 1. Install PaperTrail as a gem via your `Gemfile`: - `gem 'paper_trail'` + `gem 'paper_trail', '~> 2'` 2. Generate a migration which will add a `versions` table to your database. @@ -506,7 +506,7 @@ Over time your `versions` table will grow to an unwieldy size. Because each ver 1. Install PaperTrail as a gem via your `config/environment.rb`: - `config.gem 'paper_trail'` + `config.gem 'paper_trail', :version => '~> 1'` 2. Generate a migration which will add a `versions` table to your database.