Spring 2010

Lab01
Hello, World!

Due: Wednesday January 27, 2010 11:59 PM

Lab01 - Hello, World!

Requirements

RoR application is generated and complete10 pts
Application responds to /messages and /messages/index URLs without error30 pts
Both valid URLs results in a valid HTML5 page being displayed15 pts
HTML5 page displayed for both valid URLs contains the required text30 pts
Test written and passing15 pts
Total100 pts

Resources

Objective

To create a simple RoR application

Instructions

For this lab, like with most first labs, you will need to create a simple 'Hello, World!' application using Rails. Your application should allow for the user to visit the URLs /messages and /messages/index and should in response display a well formed and valid HTML5 page that shows the words "Hello, World!" as a level one header.

Tests

You will also need to create at least one test to confirm that your application performs as required. Your test(s) will need to contain assertions confirming that both of the required url's produce a successful response and that the response contains the required text as a level one header.

Deliverables

To submit this lab (and all future labs) start by clearing your applications log files and temp files by running the commands rails log:clear and rails tmp:clear from the command line while in your applications root directory.

Once the log files have been cleared you can zip you entire project folder and submit it for your solution.