Hello World for Rails
Posted by Frank Mao on September 29, 2006
1. rails hello
2. cd hello
3. ruby script\generate controller hello
4. Create a file called index.rhtml in app/views/hello, containing “Hello world”.
5. ruby script\server
6. Navigate to http://localhost:3000/hello in your browser and be greeted with your friendly application: “Hello world”