Welcome aboard
207 |You’re riding Ruby on Rails!
208 |About your application’s environment
212 | 213 |Getting started
217 |Here’s how to get rolling:
218 | 219 |-
220 |
-
221 |
Use
222 |rails generate
to create your models and controllersTo see all available options, run it without parameters.
223 |
224 |
225 | -
226 |
Set up a default route and remove public/index.html
227 |Routes are set up in config/routes.rb.
228 |
229 |
230 | -
231 |
Create your database
232 |Run
233 |rake db:create
to create your database. If you're not using SQLite (the default), edit config/database.yml with your username and password.
234 |