generate has_many relationship between articles and categories