From: Aryk Grosz Date: 2008-06-26T12:39:49+09:00 Subject: self referential belongs_to I noticed that eager loading a belongs to association that points back to an item of the same class is causing AR to lock up. For example class Layout < ActiveRecord::Base belongs_to :flipped_layout, :class_name => "Layout", :foreign_key => "flipped_layout_id" end So when I do, Layout.find(:all, :include => :flipped_layout), it locks up. Am I doing something wrong or this a known bug with Rails? -- Posted via http://www.ruby-forum.com/.