Ruby on Rails Wednesday, April 2, 2014

I have a model with a belongs_to relationship to my Category model. I now need to implement a User model where a user can select each category they are interested in out of all categories available in the database. Since Category shares a relation with the another object I don't know if a HABTM would still work?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/34a23521-b1ff-438c-914b-4bc57d951451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment