> You have not shown us the important code, the code in the models
> defining the relationships between them (has_many etc). Copy and
> paste the first few lines of each model showing the relationship
> definitions.
>
> Do you get the problem every time you try to get pictures for a
> question?
>
> Colin
class Picture < ActiveRecord::Base
attr_accessible :minisection_id, :contributor, :title,
:remote_image_url, :image
has_and_belongs_to_many :questions
has_and_belongs_to_many :minisections
class Question < ActiveRecord::Base
has_and_belongs_to_many :pictures
Yes, I cannot get past this error