On 6 September 2015 at 07:54, Sadaf Noor <em...@sadafnoor.com> wrote:

> good point but nope, they are not nil
>

What do the following show?
puts TShirt.last.inspect
puts product.inspect
puts Tshirt.last.product.inspect

and copy/paste the start of t_shirt.rb showing the associations

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+unsubscr...@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%3D0gLvYCZiymH5yUGnVO2-a5xo6OJ29Gf9L%3DrfGwqn1M%3DFJdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to