# Plugins with controllers

**URL:** <https://www.ruby-forum.com/t/plugins-with-controllers/91862>\
**Category:** Rails\
**Created:** [April 12, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/plugins-with-controllers/91862 "2007-04-12T22:21:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfwalter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@sfwalter](https://www.ruby-forum.com/u/sfwalter)\
**Post date:** [April 12, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/plugins-with-controllers/91862/1 "2007-04-12T22:21:09Z")

</div>

Hi,

I am having a heck of a time with controllers with plugins. I am  
using the “acts\_as\_authenticated” and after a second request I get  
the following error from one of my controllers inside the plugin:

“A copy of AuthenticatedSystem has been removed from the module tree  
but is still active!”

I searched the mailing lists and I was told to put “unloadable” in my  
controller. Which I did, but now I get:

“uninitialized constant AdminController”

This is driving me crazy, any ideas why I am getting an uninitialzed  
constant?

scott.

```auto

"Light travels faster than sound. That's why some people appear
bright until you hear them speak."
```
