aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/association_basics.md
diff options
context:
space:
mode:
authorMikhail Dieterle <MikDiet@gmail.com>2013-06-15 18:09:07 +0300
committerMikhail Dieterle <MikDiet@gmail.com>2013-06-15 18:09:07 +0300
commitd4794fd9d2bd29473c0968eec7054667abdf0c7a (patch)
tree0a2b674c22fb8b54fec87407b9a427432e683063 /guides/source/association_basics.md
parent6359a5dbd25edc42f8692b9c8f3897ee4ff3fea4 (diff)
downloadrails-d4794fd9d2bd29473c0968eec7054667abdf0c7a.tar.gz
rails-d4794fd9d2bd29473c0968eec7054667abdf0c7a.tar.bz2
rails-d4794fd9d2bd29473c0968eec7054667abdf0c7a.zip
Use markdown quotes instead <tt> tag
Diffstat (limited to 'guides/source/association_basics.md')
-rw-r--r--guides/source/association_basics.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md
index d7277b487f..adf430aef4 100644
--- a/guides/source/association_basics.md
+++ b/guides/source/association_basics.md
@@ -781,7 +781,7 @@ The `create_association` method returns a new object of the associated type. Thi
##### `create_association!(attributes = {})`
-Does the same as <tt>create_association</tt> above, but raises <tt>ActiveRecord::RecordInvalid</tt> if the record is invalid.
+Does the same as `create_association` above, but raises `ActiveRecord::RecordInvalid` if the record is invalid.
#### Options for `belongs_to`
@@ -1083,7 +1083,7 @@ The `create_association` method returns a new object of the associated type. Thi
##### `create_association!(attributes = {})`
-Does the same as <tt>create_association</tt> above, but raises <tt>ActiveRecord::RecordInvalid</tt> if the record is invalid.
+Does the same as `create_association` above, but raises `ActiveRecord::RecordInvalid` if the record is invalid.
#### Options for `has_one`
@@ -1443,7 +1443,7 @@ The `collection.create` method returns a new object of the associated type. This
##### `collection.create!(attributes = {})`
-Does the same as <tt>collection.create</tt> above, but raises <tt>ActiveRecord::RecordInvalid</tt> if the record is invalid.
+Does the same as `collection.create` above, but raises `ActiveRecord::RecordInvalid` if the record is invalid.
#### Options for `has_many`
@@ -1936,7 +1936,7 @@ The `collection.create` method returns a new object of the associated type. This
##### `collection.create!(attributes = {})`
-Does the same as <tt>collection.create</tt>, but raises <tt>ActiveRecord::RecordInvalid</tt> if the record is invalid.
+Does the same as `collection.create`, but raises `ActiveRecord::RecordInvalid` if the record is invalid.
#### Options for `has_and_belongs_to_many`
@@ -2199,4 +2199,4 @@ Extensions can refer to the internals of the association proxy using these three
* `proxy_association.owner` returns the object that the association is a part of.
* `proxy_association.reflection` returns the reflection object that describes the association.
-* `proxy_association.target` returns the associated object for `belongs_to` or `has_one`, or the collection of associated objects for `has_many` or `has_and_belongs_to_many`. \ No newline at end of file
+* `proxy_association.target` returns the associated object for `belongs_to` or `has_one`, or the collection of associated objects for `has_many` or `has_and_belongs_to_many`.