Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
outline the installation process for rails a bit more
  • Loading branch information
DCarper committed Feb 1, 2011
1 parent 077f09f commit c183309
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Expand Up @@ -51,10 +51,18 @@ Article:

It is expected that neither the archive class or archive table exist yet. <code>ActsAsArchive</code> will create these automatically.

Override ActiveRecord
----------------
<pre>
class Article &lt; ActiveRecord::Base
acts_as_archive
end
</pre>

Migrate
-------

Run <code>rake db:migrate</code>. Your archive table is created automatically.
Run <code>rake db:migrate</code>. Your archive table is created automatically. (There will be no output -- this is normal)

That's it!
----------
Expand Down Expand Up @@ -127,4 +135,4 @@ This copies all records with non-null <code>deleted_at</code> values to the arch
Running specs
-------------

There is a [wiki entry](https://github.com/winton/acts_as_archive/wiki/Running-Specs) that describes the development setup in-depth.
There is a [wiki entry](https://github.com/winton/acts_as_archive/wiki/Running-Specs) that describes the development setup in-depth.

1 comment on commit c183309

@nathanbertram
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for this; thanks for the note Dan

Please sign in to comment.