Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2012Fall

08.22.11 - 12.18.11

Rails I

CSYS2863

Thursday
05:30 PM - 08:20 PM

Hello, World!

Lab01

Objective: To create a simple RoR application

pastdue

Submit Your Solution

Lab01

Request a Copy of your Solution

Lab01

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

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.