First of all i have a conceptual doubt, I have 2 tables, post and user
both have many to many relation. Ok i do put in both models
after this i’ved create posts_users model with id_user and id_post and
table for that, is this right???
Then another cuestion I want that when a post is created, generate a row
the posts_users table with the id_user and the id_post.
If anyone can help please thank you very much.
Felipe V. Contesse
IngenierÃa Civil Industrial UC