mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #13071 from kuldeepaggarwal/documentation-updation
[ci skip]removed obsolete information about `options` parameter in create method
This commit is contained in:
commit
260471a5e1
1 changed files with 0 additions and 3 deletions
|
@ -10,9 +10,6 @@ module ActiveRecord
|
||||||
# The +attributes+ parameter can be either a Hash or an Array of Hashes. These Hashes describe the
|
# The +attributes+ parameter can be either a Hash or an Array of Hashes. These Hashes describe the
|
||||||
# attributes on the objects that are to be created.
|
# attributes on the objects that are to be created.
|
||||||
#
|
#
|
||||||
# +create+ respects mass-assignment security and accepts either +:as+ or +:without_protection+ options
|
|
||||||
# in the +options+ parameter.
|
|
||||||
#
|
|
||||||
# ==== Examples
|
# ==== Examples
|
||||||
# # Create a single new object
|
# # Create a single new object
|
||||||
# User.create(first_name: 'Jamie')
|
# User.create(first_name: 'Jamie')
|
||||||
|
|
Loading…
Reference in a new issue