Ruby on Rails Friday, February 2, 2018

On 2 February 2018 at 19:39, fugee ohu <fugee279@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
 

--
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%3D0gLs3Efg95hnJscKyC1XZ8MRjonanx457T%3D-nbOWcMwUfSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment