kopf1988
2009-Jul-03 00:57 UTC
A copy of ApplicationController has been removed from the module tree but is still active
Hi, I''ve been getting weird errors like the title ever since using rufus- scheduler, although I haven''t conclusively proven it to be the problem. I also noticed, though, that rufus schedule gave errors like "undefined method ''parsetweet'' for #<Twitteraccount:0xbddfdf> (snip) in method_missing (snip) twitteraccount.rb" or something similar, even though it''s very clearly defined in Twitteraccount.rb. Has anyone experienced similar problems? -Ryan
kopf1988
2009-Jul-03 00:58 UTC
Re: A copy of ApplicationController has been removed from the module tree but is still active
"undefined method ''parsetweet'' for #<Twitteraccount:0xbddfdf> (snip) in method_missing (snip) twitteraccount.rb" or something similar, even though it''s very clearly defined in Twitteraccount.rb. Has anyone experienced similar problems? This error message shows up when rufus- scheduler is called to do something on a Twitteraccount. Strange thing is... it works, sometimes, sometimes it doesn''t. On Jul 2, 7:57 pm, kopf1988 <kopf1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > I''ve been getting weird errors like the title ever since using rufus- > scheduler, although I haven''t conclusively proven it to be the > problem. I also noticed, though, that rufus schedule gave errors like > > "undefined method ''parsetweet'' for #<Twitteraccount:0xbddfdf> (snip) > in method_missing (snip) twitteraccount.rb" or something similar, even > though it''s very clearly defined in Twitteraccount.rb. Has anyone > experienced similar problems? > > -Ryan
Matt Jones
2009-Jul-03 22:19 UTC
Re: A copy of ApplicationController has been removed from the module tree but is still active
Something''s going on with the class loader; are you running in development mode? More info on the particular versions involved will also help, as will *not* snipping out bits of the error messages. --Matt Jones On Jul 2, 8:57 pm, kopf1988 <kopf1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > I''ve been getting weird errors like the title ever since using rufus- > scheduler, although I haven''t conclusively proven it to be the > problem. I also noticed, though, that rufus schedule gave errors like > > "undefined method ''parsetweet'' for #<Twitteraccount:0xbddfdf> (snip) > in method_missing (snip) twitteraccount.rb" or something similar, even > though it''s very clearly defined in Twitteraccount.rb. Has anyone > experienced similar problems? > > -Ryan