Browse files

Use <em> rather than underscores to fix display issue with in…

… the asssociation basics guide
  • Loading branch information...
1 parent a37e1a6 commit cfb1ba023b11f82d776f9744ddbe7c826c8d7fbc Ryan Bigg and Xavier Noria committed with radar Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/association_basics.textile
@@ -550,7 +550,7 @@ build_customer
-h6(#belongs_to-association). <tt>_association_(force_reload = false)</tt>
+h6(#belongs_to-association). <tt><em>association</em>(force_reload = false)</tt>
The <tt><em>association</em></tt> method returns the associated object, if any. If no associated object is found, it returns +nil+.

0 comments on commit cfb1ba0

Please sign in to comment.