1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

Mark down code in numbered list.

This commit is contained in:
Andy Stewart 2009-05-28 08:00:34 +01:00
parent 9e258371fc
commit 0ec72616a9

View file

@ -125,17 +125,17 @@ And on again like this:
1. Install PaperTrail either as a gem or as a plugin:
config.gem 'airblade-paper_trail', :lib => 'paper_trail', :source => 'http://gems.github.com'
`config.gem 'airblade-paper_trail', :lib => 'paper_trail', :source => 'http://gems.github.com'`
script/plugin install git://github.com/airblade/paper_trail.git
`script/plugin install git://github.com/airblade/paper_trail.git`
2. Generate a migration which wll add a `versions` table to your database.
script/generate paper_trail
`script/generate paper_trail`
3. Run the migration.
rake db:migrate
`rake db:migrate`
4. Add `has_paper_trail` to the models you want to track.