Problems with acts_as_paranoid (noticed while using acts_as_

hello,
I’m using the trunk versions of both plugins.

I’m running into this error when I run a migration to try and create
the versioned table for the model ‘Note’

stack level too deep
/Users/Adam/dev/sweetspot/app/trunk/config/…/vendor/plugins/
acts_as_paranoid/init.rb:5:in belongs_to_without_deleted' /Users/Adam/dev/sweetspot/app/trunk/config/../vendor/plugins/ acts_as_paranoid/init.rb:5:inbelongs_to_without_deleted’
/Users/Adam/dev/sweetspot/app/trunk/config/…/vendor/plugins/
acts_as_paranoid/init.rb:5:in belongs_to' /Users/Adam/dev/sweetspot/app/trunk/config/../vendor/plugins/ acts_as_versioned/lib/acts_as_versioned.rb:224:inacts_as_versioned’
/Users/Adam/dev/sweetspot/app/trunk/config/…/app/models/note.rb:2

All note.rb contains is this:
class Note < ActiveRecord::Base
acts_as_versioned
end

looking at the code in acts_as_paranoid, I can’t figure out why it is
getting stuck in a loop:

def belongs_to_with_deleted(association_id, options = {})
with_deleted = options.delete :with_deleted
returning belongs_to_without_deleted(association_id, options) do
if with_deleted
reflection = reflect_on_association(association_id)
association_accessor_methods(reflection,
Caboose::Acts::BelongsToWithDeletedAssociation)
association_constructor_method(:build, reflection,
Caboose::Acts::BelongsToWithDeletedAssociation)
association_constructor_method(:create, reflection,
Caboose::Acts::BelongsToWithDeletedAssociation)
end
end
end

alias_method_chain :belongs_to, :deleted

belongs_to_without_deleted should call the original ‘belongs_to’
method, but in this case it is calling ‘belongs_to_with_deleted’.

I’m stumped! Does anyone have any ideas on what might be going on
here?

Thank you in advance,
Adam