Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #update_attributes api format error #314

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/persistence.rb
Expand Up @@ -138,7 +138,7 @@ def update_column(name, value)
# will fail and false will be returned. # will fail and false will be returned.
# #
# When updating model attributes, mass-assignment security protection is respected. # 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 # If you want to bypass the protection given by +attr_protected+ and
# +attr_accessible+ then you can do so using the +:without_protection+ option. # +attr_accessible+ then you can do so using the +:without_protection+ option.
def update_attributes(attributes, options = {}) def update_attributes(attributes, options = {})
Expand Down