Forum: Ruby Serious Bug in Rails 2.2 using method "_ids" ...?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Stefan B. (Guest)
on 2008-12-07 04:00
Hey Guys,

considering the following Model:

class User < ActiveRecord::Base
has_many :posts, :include => [:comments, :ratings], :dependent =>

This code will raise an ActiveRecord::MissingAttributeError Exception
(comment_id is missing):

Can anyone confirm this or does someone have an idea whats going wrong
here? Using Rails 2.2.2

Stefan B. (Guest)
on 2008-12-07 04:02
oops. This was supposed to go into Rails Forum.
This topic is locked and can not be replied to.