提交 26ec070b 编写于 作者: V Vijay Dev

copy edits [ci skip]

上级 6754777a
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册