mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
committed by
Ryan Bigg
parent
a37e1a6a69
commit
cfb1ba023b
@@ -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+.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user