Modified app/models/category.rb and app/models/article.rb to put proper has_many through code