Week 6 Homework

This week I’m having you all start a new project called “rubyholic”. Rubyholic is a website for people to find their local ruby groups. For now we’ll have two models, one called “group” to represent our ruby group, and “location” to represent the location where the group meets.

For example, the Seattle.RB group meets at Vivace, so there will be a group record with the name “Seattle.RB” and a location named “Vivace”. Locations also have latitude and longitude attributes which we’ll be using later for maps.

I want you to:

  • Create the rubyholic rails project
  • Create your models, controllers, and views
  • Limit the number of groups that are displayed to 10
  • Let the user sort groups by name
  • Let the user sort groups by location name
  • Tests! You must test all of this functionality

Before you check this project in to git, add a .gitignore file. Put this in the .gitignore file: db/.sqlite3 ..swp tags log/*.log log

Remember, turn in early and often. If you have more questions, email the list, or me, or come to my office hours every Tuesday night.

Leave a Reply