1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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+.