gettext and acts_as_paranoid gives stack overflow

HI all,

I just started using acts_as_paranoid, and I've been using gettext for
a while. Now I get the below errors when I run rake gettext:updatepo.
It's interesting that the errors seem to stack up, so the first file
just errors on belongs_to_without_deleted, the second file has a layer
of eval, the second has two layers of eval, and so forth.

I've tried for a while to fix it by requiring this and that at
different points in the load process. In the end, the only solution
I've found is to comment out
"alias_method_chain :belongs_to, :deleted" in acts_as_paranoid/
init.rb, which is hardly a suitable permanent solution.

Thanks much for any advice you might be able to offer.

- Ian

Ignored 'app/models/cafe_application.rb'. Solve dependencies first.
/home/ian/Work/Starbucks/Star-cafe/main/trunk/star_cafe/vendor/plugins/
acts_as_paranoid/init.rb:3:in `belongs_to_without_deleted': stack
level too deep
Ignored 'app/models/criteria_set.rb'. Solve dependencies first.
/home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/lib/ruby/gems/1.8/
gems/gettext-1.10.0/lib/gettext/parser/active_record.rb:78:in `eval': /
home/ian/Work/Starbucks/Star-cafe/main/trunk/star_cafe/vendor/plugins/
acts_as_paranoid/init.rb:3:in `belongs_to_without_deleted': stack
level too deep
Ignored 'app/models/document.rb'. Solve dependencies first.
/home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/lib/ruby/gems/1.8/
gems/gettext-1.10.0/lib/gettext/parser/active_record.rb:78:in `eval': /
home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/lib/ruby/gems/1.8/
gems/gettext-1.10.0/lib/gettext/parser/active_record.rb:78:in `eval': /
home/ian/Work/Starbucks/Star-cafe/main/trunk/star_cafe/vendor/plugins/
acts_as_paranoid/init.rb:3:in `belongs_to_without_deleted': stack
level too deep
Ignored 'app/models/user.rb'. Solve dependencies first.
/home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/lib/ruby/gems/1.8/
gems/gettext-1.10.0/lib/gettext/parser/active_record.rb:78:in `eval': /
home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/lib/ruby/gems/1.8/
gems/gettext-1.10.0/lib/gettext/parser/active_record.rb:78:in `eval': /
home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/lib/ruby/gems/1.8/
gems/gettext-1.10.0/lib/gettext/parser/active_record.rb:78:in `eval': /
home/ian/Work/Starbucks/Star-cafe/main/trunk/star_cafe/vendor/plugins/
acts_as_paranoid/init.rb:3:in `belongs_to_without_deleted': stack
level too deep
Ignored 'app/models/processor.rb'. Solve dependencies first.
<snip>
po/starcafe.pot
...............................................................................................................................
done.
po/en/starcafe.po
...............................................................................................................................
done.
po/es/starcafe.po
...............................................................................................................................
done.
(in /home/ian/Work/Starbucks/Star-cafe/main/trunk/star_cafe)
** Invoke gettext:updatepo (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gettext:updatepo
Loaded suite /home/ian/Work/Starbucks/Star-cafe/main/trunk/usr/bin/
rake
Started

Finished in 0.000204 seconds.

0 tests, 0 assertions, 0 failures, 0 errors