Displaying 1 result from an estimated 1 matches for "pictures_quest".
2013 Apr 24
3
join table naming
Hi,
I’m an amateur learning rails and could use some help…
I created a join table “pictures_questions”
and append to it in the following way:
@picture = Picture.new(params[:picture])
…
if @picture.save
@question.pictures << @picture
Everything works fine but honestly I think I got this working by sheer
luck and trial and error. I have 2 questions:
1. I do not understand t...