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