Use <em> rather than underscores to fix display issue with 4.1.1.1 in the asssociation basics guide

This commit is contained in:
Ryan Bigg and Xavier Noria
2010-10-14 08:12:25 +11:00
committed by Ryan Bigg
parent a37e1a6a69
commit cfb1ba023b

View File

@@ -550,7 +550,7 @@ build_customer
create_customer
</ruby>
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+.