aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJaime Iniesta <jaimeiniesta@gmail.com>2010-04-01 17:53:55 +0200
committerJaime Iniesta <jaimeiniesta@gmail.com>2010-04-01 17:53:55 +0200
commit13e3f9c0ce83900d3d5647899a4cff443689c266 (patch)
treedd3000a10883d86ab33a4721a171b39527adfb31 /railties
parent78ab9beb499740036f1e570dc03e811ae7cffc0b (diff)
downloadrails-13e3f9c0ce83900d3d5647899a4cff443689c266.tar.gz
rails-13e3f9c0ce83900d3d5647899a4cff443689c266.tar.bz2
rails-13e3f9c0ce83900d3d5647899a4cff443689c266.zip
Putting back italics into association headers on association_basics.textile
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/association_basics.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile
index 4e93bb874b..4256466bec 100644
--- a/railties/guides/source/association_basics.textile
+++ b/railties/guides/source/association_basics.textile
@@ -540,7 +540,7 @@ build_customer
create_customer
</ruby>
-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.