mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use markdown quotes instead <tt> tag
This commit is contained in:
parent
6359a5dbd2
commit
d4794fd9d2
1 changed files with 5 additions and 5 deletions
|
@ -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`.
|
||||
* `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`.
|
||||
|
|
Loading…
Reference in a new issue