I'm having a brand new problem that seems to be caused by either
Engines 2.0 and/or Rails 2.0.2.  Everything was working fine until I
upgraded both of these.  I'm getting this message when I refresh a
page.

A copy of Tag has been removed from the module tree but is still active!

This looks like a similar problem to a previous post[1] on this forum.
 In particular this line from that post seems relevant:

"Engines now rely on Rails' own plugin
mechanisms. I seem to remember that I've seen an error like this when
references to a class are saved somewhere and the class then gets
reloaded in development mode while the reference holding object
doesn't."

I guess I could use some more information on how things were changed.
I don't know much about the loading mechanism of Rails yet so I'm at a
loss as to how to fix it.  The Tag stuff comes from
has_many_polymorphs.  Tag is a model defined in the main application
and Product is a model defined in the plugin.  I suspect this might be
the problem but I have no idea how to go about fixing it.

TIA,

Sean

[1] http://www.ruby-forum.com/topic/134839
_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to