My attempt to complete the "Reddit on Rails" exercise, from week 10 in the UT Rails course.