I would like to use only one table ads on database. regular AD: > :title > :price > :content > :username > > trip AD: > :title > :price > :content > :username > :from > :to >
Which associations should I use? Polymorphic Associations The has_and_belongs_to_many Else? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/qX_0b5u_P4oJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.