Add Rails 3 / 2.3 instructions to README.

This commit is contained in:
Andy Stewart 2011-02-08 13:16:53 +00:00
parent 308935c4d0
commit 842e702b94
1 changed files with 3 additions and 3 deletions

View File

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