1 - You name it "pictures_questions" because they are in alphabetical order 
that way, and that's what Rails assumes

2 - Yes, it is an attribute of Question because you specified 
"has_and_belongs_to_many :pictures" in your model. Then rails assumes there 
will be a join table.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/5V-1dPcMqEQJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to