Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated comments for clarity #7846

Merged
merged 1 commit into from

2 participants

Adam Haymond Rafael Mendonça França
Adam Haymond
  • Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
Adam Haymond AHaymond Update activerecord/lib/active_record/persistence.rb
- Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
a2e34f1
Rafael Mendonça França rafaelfranca merged commit 7d204ed into from
Rafael Mendonça França
Owner

Thank you. You can update documentation directly using https://github.com/lifo/docrails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 4, 2012
  1. Adam Haymond

    Update activerecord/lib/active_record/persistence.rb

    AHaymond authored
    - Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/persistence.rb
4 activerecord/lib/active_record/persistence.rb
View
@@ -197,7 +197,7 @@ def update_attributes!(attributes)
end
end
- # Updates a single attribute of an object, without calling save.
+ # Updates a single attribute of an object, without having to call save on that object.
#
# * Validation is skipped.
# * Callbacks are skipped.
@@ -209,7 +209,7 @@ def update_column(name, value)
update_columns(name => value)
end
- # Updates the attributes from the passed-in hash, without calling save.
+ # Updates the attributes from the passed-in hash, without having to call save on that object.
#
# * Validation is skipped.
# * Callbacks are skipped.
Something went wrong with that request. Please try again.