Threesuns

Email

Contact

All Semesters

Semesters

All Courses

Courses

Rails I

CSYS2863

3 credits

Labs

Hello, World!

Lab

100 points

Requirements

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

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.