Implementing categories in Ruby on Rails
Swaathi Kakarla

How can I add a user model to this where user has many products and product belong to user. When I make these changes in models user.rb and product.rb the form shows a controller error. I actually want to be able to diplay a user and number of products he has and how many categories the users products belongs to. How do I do that?

Like what you read? Give Manjusha Mammen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.