From bc24f19686d512a40f12473c1458a243bbf097e7 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Sat, 20 Dec 2014 15:10:28 -0800 Subject: Make sure this section is rendered as a `NOTE` and remove redundant sentence. [ci skip] --- guides/source/testing.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'guides/source') diff --git a/guides/source/testing.md b/guides/source/testing.md index 42b493fb73..6688d48a8b 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -100,11 +100,7 @@ one: Notice the `category` key of the `one` article found in `fixtures/articles.yml` has a value of `about`. This tells Rails to load the category `about` found in `fixtures/categories.yml`. -Note: For associations to reference one another by name, you cannot specify the `id:` - attribute on the fixtures. Rails will auto assign a primary key to be consistent between - runs. If you manually specify an `id:` attribute, this behavior will not work. For more - information on this association behavior please read the - [Fixtures API documentation](http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html). +NOTE: For associations to reference one another by name, you cannot specify the `id:` attribute on the associated fixtures. Rails will auto assign a primary key to be consistent between runs. For more information on this association behavior please read the [Fixtures API documentation](http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html). #### ERB'in It Up -- cgit v1.2.3