Maybe this can help you https://robots.thoughtbot.com/whats-the-deal-with-rails-polymorphic-associations
search google about polymorphic associations -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a8dc09ab-271d-4278-9145-ca59d2a162d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

