This is the first note of ROR study series.

Let's start from begining.

Use rails new to create a new project

use rails s to run the server

[sourcecode language="bash"]
Desktop>rails new first_app

Desktop>cd first_app

first_app> rails s[/sourcecode]

Then when you type localhost:3000 in your browser. you should get you application running OK.

Use the code below to create a controller "Say" and two view "hello","goodbye" of this controller.

[sourcecode language="bash"]

rails generate controller Say hello goodbye[/sourcecode]

you can see your view by enter http://localhost:3000/say/hello