README.md in closure_tree-4.2.7 vs README.md in closure_tree-4.2.8

- old
+ new

@@ -57,11 +57,14 @@ 1. Add this to your Gemfile: ```gem 'closure_tree'``` 2. Run ```bundle install``` -3. Add ```acts_as_tree``` to your hierarchical model(s). There are a number of [options](#available-options) you can pass in, too. +3. Add ```acts_as_tree``` to your hierarchical model(s). + Make sure you add ```acts_as_tree``` *after any ```attr_accessible``` and ```self.table_name =``` + lines in your model. + Please review the [available options](#available-options) you can provide. 4. Add a migration to add a ```parent_id``` column to the model you want to act_as_tree. You may want to also [add a column for deterministic ordering of children](#sort_order), but that's optional. ```ruby @@ -91,10 +94,10 @@ # For "all progeny of…" and leaf selects: add_index :tag_hierarchies, [:ancestor_id, :descendant_id, :generations], :unique => true, :name => "tag_anc_desc_udx" # For "all ancestors of…" selects, - add_index :tag_hierarchies, [:descendant_id] + add_index :tag_hierarchies, [:descendant_id], :name => "tag_desc_idx" end end ```