CIS 658

Rails Part 1

Winter 2025

Objective

The main objective of this homework is to learn how to set up and begin a project using the Rails framework.

Assignment

Follow this GitHub Classroom link and put your code in the repository generated: https://classroom.github.com/a/gYyZTqiD

Prepare a simple web site using Rails. In particular, your site should allow you to perform the basic CRUD (create, read, update, delete) operations on one resource (a Book, Item, User, etc.). In addition, you should be able to display a filtered list of your items (either on the main index page, or a separate page). You may choose anything you like; but keep in mind:

Some ideas include:

You are welcome to use the textbook and/or online tutorials; however, your submission needs to be a clear step away from the tutorial. In particular, it cannot be a simple "string replace". For example, if you follow a tutorial for implementing a Toy resource, don't simply replace "Toy" with "Book", "name" with "title", "manufacturer" with "author", etc. Instead choose a resource with a different number of properties, and a different mix of types.

You are welcome to use a CSS framework such as Tailwind or Bootstrap; but, it's not required.

Submission

When you are ready to submit,

  1. Populate your application with 5-10 items
  2. Include the message [Grade Me, Part 1] when committing your git repo.
  3. Deploy your server and email me the URL.

Updated Sunday, 23 February 2025, 2:39 PM

W3c Validation