Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #13071 from kuldeepaggarwal/documentation-updation

[ci skip]removed obsolete information about `options` parameter in create method
  • Loading branch information...
commit 784927f39238e0c5d7b71a5c91661f813af36cd3 1 parent df0ece4
@senny senny authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  activerecord/lib/active_record/persistence.rb
View
3  activerecord/lib/active_record/persistence.rb
@@ -10,9 +10,6 @@ module ClassMethods
# 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')
Please sign in to comment.
Something went wrong with that request. Please try again.