O'Reilly logo

The Book of Ruby by Huw Collingbourne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Create a Rails Application

For the sake of simplicity, this first application will not use a database at all. This will let you explore the View and the Controller without having to worry about the complexities of the Model.

To begin, open a system prompt (on Windows, select the Start menu, and enter cmd into the Run or Search box). Navigate to a directory into which you intend to place your Rails applications. Let’s assume this is C:\railsapps. Check that Rails is installed and that its home directory is on the system path. To do this, enter the following:

rails

If all is well, you should now see a screenful of help about using the rails command. If you don’t see this, there is a problem with your Rails installation that you need to fix before continuing. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required