An open API service indexing awesome lists of open source software.

https://github.com/epoch/hogwarts_rails


https://github.com/epoch/hogwarts_rails

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# OH NO

He-Who-Must-Not-Be-Named has placed a curse on the source code of Hogwarts' administration software. Errors, typos, and bugs abound! Literally nothing works.

## Your Mission

You're Rubyist Hagrid, a member of Dumbledore's Army. Correct all the errors so that this app runs properly.

> The errors are all in locations that we've covered in class. (Even Voldemort's not that heartless!) Also, there are no changes necessary in the `app/assets` folder.

> Looking at files in Atom with syntax highlighting may be helpful.

> Making sure your HTML and CSS validate is still important! If you copy an paste a `.erb` file it won't validate, however -- so copy and paste the resulting HTML as it shows up in your web browser.

## Submission

Fork and clone this repo. Once you have made the necessary corrections, push your changes and submit a pull request.

## Bonus

Add functionality so students can enroll at Hogwarts (creating a new student). Include a "Sorting Hat" method to randomly assign new students to one of Hogwarts' four houses. (Where do you think this logic should go?)