提交 44473e49 编写于 作者: S Soon Van

Ruby is a proper noun here, not part of code fragment [ci skip]

Last line of note also relates heavily to first part
and parenthesis broke reading flow.
上级 3a48b83e
...@@ -388,9 +388,9 @@ It's inside this class that you'll define methods that will become the actions ...@@ -388,9 +388,9 @@ It's inside this class that you'll define methods that will become the actions
for this controller. These actions will perform CRUD operations on the posts for this controller. These actions will perform CRUD operations on the posts
within our system. within our system.
NOTE: There are `public`, `private` and `protected` methods in `Ruby` NOTE: There are `public`, `private` and `protected` methods in Ruby,
(for more details you can check on [Programming Ruby](http://www.ruby-doc.org/docs/ProgrammingRuby/)). but only `public` methods can be actions for controllers.
But only `public` methods can be actions for controllers. For more details check out [Programming Ruby](http://www.ruby-doc.org/docs/ProgrammingRuby/).
If you refresh <http://localhost:3000/posts/new> now, you'll get a new error: If you refresh <http://localhost:3000/posts/new> now, you'll get a new error:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册