building a similar epicodus site, rails relationships