Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix #update_attributes api format error #314

Closed
wants to merge 1 commit into from

2 participants

@smartinez87

This fixes formatting on #update_attributes docs, introduced in this commit: 8111fac

@tenderlove
Owner

Should be merged. Thanks!

@tenderlove tenderlove closed this
@arunagw arunagw referenced this pull request from a commit in arunagw/rails
@tenderlove tenderlove Merged pull request #314 from smartinez87/master.
Fix #update_attributes api format error
91bd195
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 26, 2011
  1. @smartinez87
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/persistence.rb
View
2  activerecord/lib/active_record/persistence.rb
@@ -138,7 +138,7 @@ def update_column(name, value)
# 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 = {})
Something went wrong with that request. Please try again.