ActiveRecord 3 Based Gems

Hello all,

We are having serious problems upgrading our app to Rails 3 because we have a custom gem in our app that is collection of ActiveRecord models. Rather than repeat myself, here is the link to the bug filed in lighthouse.

What I really need to know is if this really is a bug or if anyone know a workaround for this situation. Or, are we just stuck with it and should start to refactor our gem into a service or flip it to a different ORM like DataMapper?

Our external gem is critical to our current application and this bug completely impedes a transition to Rails 3.

Because this appears to be bug in the way gems and database configs are loaded I thought I should post it on the core-list. If this should be on dev list let me know and I will move it over. Thanks