Permalink
Browse files

Note that ordering matters for accepts_nested_attributes_for.

  • Loading branch information...
pat committed Oct 19, 2012
1 parent eb69484 commit 2743a95917335640031f8a6651e6e46f117e7a10
Showing with 1 addition and 1 deletion.
  1. +1 −1 ts/en/indexing.textile
View
@@ -15,7 +15,7 @@ h2. Indexing your Models
<h3 id="basic">Basic Indexing</h3>
-Everything to set up the indexes for your models goes in the *define_index* method, within your model. Don't forget to place this block _below_ your associations, otherwise any references to them for fields and attributes will not work.
+Everything to set up the indexes for your models goes in the *define_index* method, within your model. Don't forget to place this block _below_ your associations and any @accepts_nested_attributes_for@ calls, otherwise any references to them for fields and attributes will not work.
{% highlight ruby %}
class Article < ActiveRecord::Base

0 comments on commit 2743a95

Please sign in to comment.