Need some help with understanding the best way of doing the
I have a user model and two models (link_post and text_post) i now
want to join the models together as post.
both link_post and text_post has a user_id column.
What a i want is to get
u = User.first
to collect all link_post and text_post together.
Should this be done with a scope or with some model association ? I
don’t need a controller for posts just the self join.
But if i can get other scopes on “posts” it would be great… (like
published_on etc …)