Ruby on Rails
Sunday, December 30, 2012
I just posted a question on stackoverflow:
http://stackoverflow.com/questions/14096008/has-many-through-but-with-unique-source-and-multiple-associations
The gist of what I need help with is this:
- As a user, I can add my favorite book to my book list.
- Another user adds the same book to their book list.
There should only be one instance of the book in the database but 2 user/book associations.
Any help would be amazing!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/8xReZsFy1_cJ.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment