From: Stefan Buhr on 6 Dec 2008 20:54 Hey Guys, considering the following Model: class User < ActiveRecord::Base has_many :posts, :include => [:comments, :ratings], :dependent => :destroy end This code will raise an ActiveRecord::MissingAttributeError Exception (comment_id is missing): @user.post_ids Can anyone confirm this or does someone have an idea whats going wrong here? Using Rails 2.2.2 Cheers. -- Posted via http://www.ruby-forum.com/.
From: Stefan Buhr on 6 Dec 2008 20:55 oops. This was supposed to go into Rails Forum. -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: REGEXP HELP Next: DBI:ODBC on Vista: "could not load driver" |