Permalink
Browse files

outline the installation process for rails a bit more

  • Loading branch information...
1 parent 077f09f commit c183309a10ca0684a32063b4177f49c05b67d813 @DCarper committed Feb 1, 2011
Showing with 10 additions and 2 deletions.
  1. +10 −2 README.md
View
@@ -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!
----------
@@ -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

+1 for this; thanks for the note Dan

Please sign in to comment.