mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merged pull request #314 from smartinez87/master.
Fix #update_attributes api format error
This commit is contained in:
commit
91bd1951cc
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ module ActiveRecord
|
|||
# will fail and false will be returned.
|
||||
#
|
||||
# When updating model attributes, mass-assignment security protection is respected.
|
||||
# If no +:as+ option is supplied then the :default scope will be used.
|
||||
# If no +:as+ option is supplied then the +:default+ scope will be used.
|
||||
# If you want to bypass the protection given by +attr_protected+ and
|
||||
# +attr_accessible+ then you can do so using the +:without_protection+ option.
|
||||
def update_attributes(attributes, options = {})
|
||||
|
|
Loading…
Reference in a new issue