Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

README

  • Loading branch information...
commit 70908bdf487da27ed21c59ff166f0fcd1d78b982 1 parent d1a42df
@winton authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.md
View
7 README.md
@@ -57,7 +57,12 @@ Use <code>destroy</code>, <code>destroy\_all</code>, <code>delete</code>, and <c
Records move into the archive table instead of being destroyed.
-If any of your model's relationships have the <code>:dependent</code> option and also use <code>acts\_as\_archive</code>, those relationships will archive automatically.
+Automatically archive relationships
+-----------------------------------
+
+If your <code>acts\_as\_archive</code> model's relationship has the <code>:dependent</code> option and also uses <code>acts\_as\_archive</code>, that relationships will archive automatically.
+
+__To use this feature, you must declare your relationships before the acts\_as\_archive call within your model!__
What if my schema changes?
--------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.