Ruby on Rails Sunday, August 12, 2018

On Mon, 13 Aug 2018 at 03:49, fugee ohu <fugee279@gmail.com> wrote:

Can we revisit this one I'm doing a family tree and trying to manage spousal relationships so i have person has_many people through: :partnerships But now partnerships can't have person_id twice so this is perplexing me  

Google for
rails self referential has_many through

Colin

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLve84pFng5RTUKFSCKgnMW%2BCVLAOdNen4uKFE9XAaOpcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment