Ruby on Rails Monday, August 13, 2018

If you have ever finished https://www.railstutorial.org/ deals with relationshps rather well. Can't send code.

Cheers Dave

On Mon, Aug 13, 2018 at 6:34 PM Colin Law <clanlaw@gmail.com> wrote:
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.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merrickdav@gmail.com

Ph   03 216 2053

Cell 027 3089 169

--
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/CA%2B%3DMcKax1JdLkB9V18Ouh4EVLd%3DpcpwZstGc0kc6pZ9naz_yaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment