aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2014-11-05 00:42:04 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2014-11-05 00:44:09 +0530
commit00d14936b039e841c5c0068cd8cccf0ec6b234d6 (patch)
tree11a24fa5e1cdc61f350c5baa423b68d5e2b7b447 /guides/source/getting_started.md
parent8602fc5e11e9fe11ad9a0e307f0fbb438f84b1cc (diff)
downloadrails-00d14936b039e841c5c0068cd8cccf0ec6b234d6.tar.gz
rails-00d14936b039e841c5c0068cd8cccf0ec6b234d6.tar.bz2
rails-00d14936b039e841c5c0068cd8cccf0ec6b234d6.zip
Mention that articles resource should be added by user in getting started guide
[ci skip]
Diffstat (limited to 'guides/source/getting_started.md')
-rw-r--r--guides/source/getting_started.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 1769448531..92f8ef5b08 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -195,8 +195,8 @@ TIP: Compiling CoffeeScript and JavaScript asset compression requires you
have a JavaScript runtime available on your system, in the absence
of a runtime you will see an `execjs` error during asset compilation.
Usually Mac OS X and Windows come with a JavaScript runtime installed.
-Rails adds the `therubyracer` gem to the generated `Gemfile` in a
-commented line for new apps and you can uncomment if you need it.
+Rails adds the `therubyracer` gem to the generated `Gemfile` in a
+commented line for new apps and you can uncomment if you need it.
`therubyrhino` is the recommended runtime for JRuby users and is added by
default to the `Gemfile` in apps generated under JRuby. You can investigate
all the supported runtimes at [ExecJS](https://github.com/sstephenson/execjs#readme).
@@ -338,8 +338,8 @@ You can create, read, update and destroy items for a resource and these
operations are referred to as _CRUD_ operations.
Rails provides a `resources` method which can be used to declare a standard REST
-resource. Here's what `config/routes.rb` should look like after the
-_article resource_ is declared.
+resource. You need to add the _article resource_ to the
+`config/routes.rb` as follows:
```ruby
Rails.application.routes.draw do