1
0
Fork 0
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:
Yves Senn 2013-11-27 00:42:06 -08:00
commit 260471a5e1

View file

@ -10,9 +10,6 @@ module ActiveRecord
# 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.
#
# +create+ respects mass-assignment security and accepts either +:as+ or +:without_protection+ options
# in the +options+ parameter.
#
# ==== Examples
# # Create a single new object
# User.create(first_name: 'Jamie')