KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Model called Category and other Model Product. They have has_many and belongs_to relation. But code in my view <p><%= f.collection_select(:product, :category_id, Category.all, :id, :name)%> is giving me undefined method `merge' for :name:Symbol Any clue what is wrong with it?
Tags (comma-separated)
Save Edits
Cancel