ActMethods has been removed from the module tree?


#1

Hello,

I wrote a light weight version of acts_as_attachment and this has been
working fine for some time now (about a week). Now i get the title
error:
ActMethods has been removed from the module tree but is still active!

I have updated edge rails a few times as my project uses
active_resource.

The closest thing ive found is an AAA post on beast forum:
http://beast.caboo.se/forums/2/topics/664

regards,
Adam


#2

Any ideas?

Adam M.ox wrote:

Hello,

I wrote a light weight version of acts_as_attachment and this has been
working fine for some time now (about a week). Now i get the title
error:
ActMethods has been removed from the module tree but is still active!

I have updated edge rails a few times as my project uses
active_resource.

The closest thing ive found is an AAA post on beast forum:
http://beast.caboo.se/forums/2/topics/664

regards,
Adam


#3

after some more digging i found the following ticket:
http://dev.rubyonrails.org/ticket/5852

It appears that config.load_once_paths is needed in the environment.rb
file

Seems to work.