Dave Castellano wrote in post #1110796:
Hi,
I'm learning rails and have run into what for me is a difficult problem.
I have the following associations with a galleries_pictures and a
pictures_questions join table:
class Picture ActiveRecord::Base
has_and_belongs_to_many :questions
P.S. None of this code has been tested. Just wrote it by memory.
Thank you. I get it. It worked well with a couple of small tweaks.
...wish I could do that from memory :-)
Thanks,
Dave
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
2 matches
Mail list logo