rails app demonstrating a many-to-many relationship