aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-04-26 14:58:06 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-04-26 14:58:06 -0300
commit0421002d78b0b41c5a978568910f6dacacc6888f (patch)
tree8629065cb5952f7b0b0ac82bce75cf49b977b678 /activerecord/lib
parente28f9ad9df6c3b1a51db7ced3af781d114486aec (diff)
downloadrails-0421002d78b0b41c5a978568910f6dacacc6888f.tar.gz
rails-0421002d78b0b41c5a978568910f6dacacc6888f.tar.bz2
rails-0421002d78b0b41c5a978568910f6dacacc6888f.zip
Fix #update_attributes api format error
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/persistence.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index 998d237ada..787ac977e0 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -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 = {})