Browse files

Putting back italics into association headers on association_basics.t…

  • Loading branch information...
1 parent 78ab9be commit 13e3f9c0ce83900d3d5647899a4cff443689c266 @jaimeiniesta jaimeiniesta committed Apr 1, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/guides/source/association_basics.textile
@@ -540,7 +540,7 @@ build_customer
-h6. association(force_reload = false)
+h6. _association_(force_reload = false)
The <tt><em>association</em></tt> method returns the associated object, if any. If no associated object is found, it returns +nil+.
@@ -550,7 +550,7 @@ The <tt><em>association</em></tt> method returns the associated object, if any.
If the associated object has already been retrieved from the database for this object, the cached version will be returned. To override this behavior (and force a database read), pass +true+ as the +force_reload+ argument.
-h6. association=(associate)
+h6. _association_=(associate)
The <tt><em>association</em>=</tt> method assigns an associated object to this object. Behind the scenes, this means extracting the primary key from the associate object and setting this object's foreign key to the same value.

0 comments on commit 13e3f9c

Please sign in to comment.