To write the model, views, and controller for a single model application
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.