Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sarah Allen  
View profile  
 More options Jul 3 2009, 11:36 am
From: Sarah Allen <sa...@ultrasaurus.com>
Date: Fri, 3 Jul 2009 08:36:44 -0700
Local: Fri, Jul 3 2009 11:36 am
Subject: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"
When initially running typus in Rails 2.3.2 yesterday, I ran into the  
error:
        A copy of ApplicationController has been removed from the module tree  
but is still active!

A simple change got it unstuck, thanks to helpful blog posts:  http://railsforum.com/viewtopic.php?id=31447
  and http://www.justinball.com/2009/06/13/a-copy-of-applicationcontroller-...
  and http://strd6.com/?p=250

In each of the two controllers in the typus plugin, I just added  
"unloadable" to the top.

class Admin::MasterController < ApplicationController
   unloadable
   ...

class TypusController < ApplicationController
   unloadable
  ...

Not sure if this is the "right" fix, but it seems to work.

Sarah
http://www.ultrasaurus.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesc Esplugas  
View profile  
 More options Jul 3 2009, 11:51 am
From: Francesc Esplugas <francesc.esplu...@gmail.com>
Date: Fri, 3 Jul 2009 17:51:45 +0200
Local: Fri, Jul 3 2009 11:51 am
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"

I have seen this "bug" only one time and couldn't reproduce it.  
Restarting tje server did the job.

Anyonelse having the same problem?

--
Sent from my mobile device.

On 03/07/2009, at 17:36, Sarah Allen <sa...@ultrasaurus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesc Esplugas  
View profile  
 More options Jul 3 2009, 11:52 am
From: Francesc Esplugas <francesc.esplu...@gmail.com>
Date: Fri, 3 Jul 2009 17:52:27 +0200
Local: Fri, Jul 3 2009 11:52 am
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"

Which version of Ruby are you using?

--
Sent from my mobile device.

On 03/07/2009, at 17:36, Sarah Allen <sa...@ultrasaurus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sarah Allen  
View profile  
 More options Jul 3 2009, 2:47 pm
From: Sarah Allen <sa...@ultrasaurus.com>
Date: Fri, 3 Jul 2009 11:47:27 -0700
Local: Fri, Jul 3 2009 2:47 pm
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"
$ ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]

On Jul 3, 2009, at 8:52 AM, Francesc Esplugas wrote:

> Which version of Ruby are you using?

> --
> Sent from my mobile device.

> On 03/07/2009, at 17:36, Sarah Allen <sa...@ultrasaurus.com> wrote:

>> Not sure if this is the "right" fix, but it seems to work.

http://www.ultrasaurus.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesc Esplugas  
View profile  
 More options Jul 4 2009, 5:04 am
From: Francesc Esplugas <francesc.esplu...@gmail.com>
Date: Sat, 4 Jul 2009 11:04:57 +0200
Local: Sat, Jul 4 2009 5:04 am
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"

On Jul 3, 2009, at 8:47 PM, Sarah Allen wrote:

> $ ruby -v
> ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]

 I'm running the same version and currently don't have the problem you  
report.

     "A copy of ApplicationController has been removed from the module  
tree but is still active!"

I will investigate a little bit on it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sarah Allen  
View profile  
 More options Jul 4 2009, 12:48 pm
From: Sarah Allen <sa...@ultrasaurus.com>
Date: Sat, 4 Jul 2009 09:48:06 -0700
Local: Sat, Jul 4 2009 12:48 pm
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"
I looked into this some more and remembered that the error did not  
happen in my simple sample app (one model, created with scaffold), but  
did happen with my real app (14 models, 7 controllers). So this is  
something that happens with a complex app...

On Jul 4, 2009, at 2:04 AM, Francesc Esplugas wrote:

http://www.ultrasaurus.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesc Esplugas  
View profile  
 More options Jul 4 2009, 1:22 pm
From: Francesc Esplugas <francesc.esplu...@gmail.com>
Date: Sat, 4 Jul 2009 19:22:25 +0200
Local: Sat, Jul 4 2009 1:22 pm
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"

I have it working with an apps with over 20 models and it's working  
fine. Which plugins do you have installed?

--
Sent from my mobile device.

On 04/07/2009, at 18:48, Sarah Allen <sa...@ultrasaurus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sarah Allen  
View profile  
 More options Jul 5 2009, 10:25 am
From: Sarah Allen <sa...@ultrasaurus.com>
Date: Sun, 5 Jul 2009 07:25:11 -0700
Local: Sun, Jul 5 2009 10:25 am
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"
$ ls -1 vendor/plugins/
authenticate: http://github.com/cch1/authenticate/tree/master
in_place_editing: http://github.com/rails/in_place_editing/tree/master
openlaszlo_plugin: http://github.com/ultrasaurus/openlaszlo_plugin/tree/master
rspec-on-rails-matchers: http://github.com/joshknowles/rspec-on-rails-matchers/tree/master

We're actually planning on switching auth to AuthLogic or  
RestfulAuthentication next week, and I can see if that makes a  
difference.  openlaszlo_plugin and in_place_editing are just view  
helpers I think, and rspec-on-rails-matchers is just for testing, so I  
don't think they would make a difference.

Sarah

On Jul 4, 2009, at 10:22 AM, Francesc Esplugas wrote:

http://www.ultrasaurus.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesc Esplugas  
View profile  
 More options Jul 8 2009, 4:11 pm
From: Francesc Esplugas <francesc.esplu...@gmail.com>
Date: Wed, 8 Jul 2009 22:11:02 +0200
Local: Wed, Jul 8 2009 4:11 pm
Subject: Re: Rails 2.3 and the error " A copy of ApplicationController has been removed from the module tree but is still active!"

I've fixed this random behavior adding "unloadable" to Typus  
controllers. I'll upload the changes later.

--
Sent from my mobile device.

On 05/07/2009, at 16:25, Sarah Allen <sa...@ultrasaurus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »