Skip to content
Browse files

Better styling on docs

  • Loading branch information...
1 parent 0afd585 commit 95483a6a6afdd07c3429f2218f56a2de2f68a445 @smartinez87 committed May 19, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 activerecord/lib/active_record/associations.rb
View
8 activerecord/lib/active_record/associations.rb
@@ -458,12 +458,12 @@ def association_instance_set(name, association)
# 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

0 comments on commit 95483a6

Please sign in to comment.
Something went wrong with that request. Please try again.