aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-05-26 17:51:20 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-05-26 17:51:20 -0300
commitdfba8f544b96d326aa19e41d75a8b5a24525629e (patch)
treeef45b410729161f783ad018f73e5ad7e242590be /activerecord/lib/active_record
parent52f0437af10cede8eafdd621e0207ea91d147449 (diff)
downloadrails-dfba8f544b96d326aa19e41d75a8b5a24525629e.tar.gz
rails-dfba8f544b96d326aa19e41d75a8b5a24525629e.tar.bz2
rails-dfba8f544b96d326aa19e41d75a8b5a24525629e.zip
Fix font styling on associations.rb
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 1c7209e64e..5538c837b3 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -458,12 +458,12 @@ module ActiveRecord
# end
#
# Some extensions can only be made to work with knowledge of the association's internals.
- # Extensions can access relevant state using the following methods (where 'items' is the
+ # Extensions can access relevant state using the following methods (where +items+ is the
# name of the association):
#
- # * +record.association(:items).owner+ - Returns the object the association is part of.
- # * +record.association(:items).reflection+ - Returns the reflection object that describes the association.
- # * +record.association(:items).target+ - Returns the associated object for +belongs_to+ and +has_one+, or
+ # * <tt>record.association(:items).owner</tt> - Returns the object the association is part of.
+ # * <tt>record.association(:items).reflection</tt> - Returns the reflection object that describes the association.
+ # * <tt>record.association(:items).target</tt> - Returns the associated object for +belongs_to+ and +has_one+, or
# the collection of associated objects for +has_many+ and +has_and_belongs_to_many+.
#
# === Association Join Models