Permalink
Browse files

copy edits [ci skip]

  • Loading branch information...
1 parent 6754777 commit 26ec070b09ceb798b471fd6999ae1da319120899 @vijaydev vijaydev committed Oct 10, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 activerecord/lib/active_record/persistence.rb
  2. +2 −2 guides/source/testing.md
@@ -197,7 +197,7 @@ def update_attributes!(attributes)
end
end
- # Updates a single attribute of an object, without having to call save on that object.
+ # Updates a single attribute of an object, without having to explicitly 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 having to call save on that object.
+ # Updates the attributes from the passed-in hash, without having to explicitly call save on that object.
#
# * Validation is skipped.
# * Callbacks are skipped.
View
@@ -225,7 +225,7 @@ TIP: You can see all these rake tasks and their descriptions by running `rake --
Running a test is as simple as invoking the file containing the test cases through Ruby:
```bash
-$ ruby -I test test/unit/post_test.rb
+$ ruby -Itest test/unit/post_test.rb
Loaded suite unit/post_test
Started
@@ -240,7 +240,7 @@ This will run all the test methods from the test case. Note that `test_helper.rb
You can also run a particular test method from the test case by using the `-n` switch with the `test method name`.
```bash
-$ ruby -I test test/unit/post_test.rb -n test_the_truth
+$ ruby -Itest test/unit/post_test.rb -n test_the_truth
Loaded suite unit/post_test
Started

0 comments on commit 26ec070

Please sign in to comment.