Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2017Spring

01.09.17 - 05.07.17

Rails I

CSYS2863

Tuesday Thursday
02:30 PM - 03:50 PM

Episodes

Lab04

Objective: To write the model, views, and controller for a single model application

pastdue

Submit Your Solution

Lab04

Request a Copy of your Solution

Lab04

Requirements

Episode model created10 pts
Episode controller created10 pts
Episode views created (4)10 pts
7 actions in controller work appropriately10 pts
Model contains appropriate validations10 pts
Views are tidy and easy to use10 pts
Search ability is present and functioning30 pts
Controller tests are appropriate and include the search feature10 pts
Total100 pts

Instructions

Concept

For this lab you will need to create the model, controller, and views needed for a single model Rails application. This application should model Television Episodes where each instance contains the title (string), description (text), and episode number (integer) for that episode.

Details

When your lab is complete it should be possible to perform the 7 basic CRUD operations (index, show, new, create, edit, update, destroy) on your model. The data for the model should be stored in a database and should be able to be worked with fully through a web interface. The interface should be friendly and easy to use and understand and forms should include validation.

Extra

In addition to the basic 7 CRUD capabilities there should also be the ability for the user to search for Episodes by any of their attributes. Any Episodes that match the search criteria should be listed for the user, again in a friendly and easy to work with manner.

Testing

Make sure that all appropriate tests are written for the basic 7 CRUD capabilities and that the search feature is also included. Model tests only need to be included if changes to the model are made.