Ruby on Rails Friday, February 2, 2018



On Friday, February 2, 2018 at 5:01:05 PM UTC-5, Colin Law wrote:
On 2 February 2018 at 19:39, fugee ohu <fuge...@gmail.com> wrote:

So if I'm using the second approach the has_many_through then how do i create a new record? 

Start by reading the rails guide on active record relations, that shows you how to do that sort of thing.

Colin
 

I read it but it doesn't say how to syntax a new object that uses the join 

--
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/5cda581b-a27c-43db-a8a1-15ce648a15b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment