diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-10-11 00:59:52 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-10-11 01:01:54 +0530 |
commit | 26ec070b09ceb798b471fd6999ae1da319120899 (patch) | |
tree | a434d96ad06f9fe7a8d2c445696c6036d2e63db3 | |
parent | 6754777adf02b62535e27298cff1abadc1d11a2d (diff) | |
download | rails-26ec070b09ceb798b471fd6999ae1da319120899.tar.gz rails-26ec070b09ceb798b471fd6999ae1da319120899.tar.bz2 rails-26ec070b09ceb798b471fd6999ae1da319120899.zip |
copy edits [ci skip]
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 4 | ||||
-rw-r--r-- | guides/source/testing.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index 0107667fbe..611d3d97c3 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -197,7 +197,7 @@ module ActiveRecord 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 @@ module ActiveRecord 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. diff --git a/guides/source/testing.md b/guides/source/testing.md index 81e93d1701..2680525928 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -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 |