diff options
author | Zachary Scott <e@zzak.io> | 2014-11-04 12:21:45 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-11-04 12:21:45 -0800 |
commit | 502c45a3428b3ce1a9892986d1bba5f8f975fb6d (patch) | |
tree | c894008e7136cd3e4e6489b56c952ba9f0cffc8c | |
parent | 7596cab62fcba5cee242c054bdef134b6bd36872 (diff) | |
parent | 00d14936b039e841c5c0068cd8cccf0ec6b234d6 (diff) | |
download | rails-502c45a3428b3ce1a9892986d1bba5f8f975fb6d.tar.gz rails-502c45a3428b3ce1a9892986d1bba5f8f975fb6d.tar.bz2 rails-502c45a3428b3ce1a9892986d1bba5f8f975fb6d.zip |
Merge pull request #17508 from prathamesh-sonpatki/mention-adding-resources-to-routes
Mention that articles resource should be added by user in getting started guide
Fixes #17507 [ci skip]
-rw-r--r-- | guides/source/getting_started.md | 8 |
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 |