There seems to be a problem if you have a circular dependency in your actable base class.
Example:
class Product < ActiveRecord::Base
actable
belongs_to :pen_case
end
class Pen < ActiveRecord::Base
acts_as :product
end
class PenCase < ActiveRecord::Base
acts_as :product
has_many :products
end
As you can see Product has a reference pen_case_id to PenCase, which again, is a Product.
There seems to be a problem if you have a circular dependency in your actable base class.
Example:
As you can see Product has a reference pen_case_id to PenCase, which again, is a Product.
Now, this happens:
As you can see accessing #product (or #acting_as) gives the wrong result if we go through the Product#pen_case association. Weird?