# Override User controller works sometimes

**URL:** <https://www.ruby-forum.com/t/override-user-controller-works-sometimes/63094>\
**Category:** Engines\
**Created:** [June 12, 2006, 1:37am UTC](https://www.ruby-forum.com/t/override-user-controller-works-sometimes/63094 "2006-06-12T01:37:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterpunk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3da27b/32.png) [@peterpunk](https://www.ruby-forum.com/u/peterpunk)\
**Post date:** [June 12, 2006, 1:37am UTC](https://www.ruby-forum.com/t/override-user-controller-works-sometimes/63094/1 "2006-06-12T01:37:56Z")

</div>

I dont know if I did the right things.

Im using Login and User Engine

I created a user\_controller on my app/controllers with all actions  
included.  
At my local win32 machine works fine, but in my production server the  
controller at the first request uses the rigth user controller on  
app/controllers but when I post to signup or logout the flash[:notice]  
comes from the login\_engine/app/user\_controller.rb seems that my  
controller was ignored.

Any Idea?

thanks

P

Pedro V.  
[http://blogs.onrails.com.ar](http://blogs.onrails.com.ar)

---

<div class="post-metadata">

**Author:** ![peterpunk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3da27b/32.png) [@peterpunk](https://www.ruby-forum.com/u/peterpunk)\
**Post date:** [July 10, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/override-user-controller-works-sometimes/63094/2 "2006-07-10T15:54:49Z")

</div>

Pedro V. \<pedro.visintin@…\> writes:

> I created a user\_controller on my app/controllers with all actions  
> included.  
> At my local win32 machine works fine, but in my production server the  
> controller at the first request uses the rigth user controller on  
> app/controllers but when I post to signup or logout the flash[:notice]  
> comes from the login\_engine/app/user\_controller.rb seems that my  
> controller was ignored.

I have the same problem, and can’t find anything about this.  
Do you have a solution yet?

Marek

---

<div class="post-metadata">

**Author:** ![peterpunk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3da27b/32.png) [@peterpunk](https://www.ruby-forum.com/u/peterpunk)\
**Post date:** [July 10, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/override-user-controller-works-sometimes/63094/3 "2006-07-10T16:29:09Z")

</div>

Marek Stanczyk wrote:

> Pedro V. \<pedro.visintin@…\> writes:
> 
> > I created a user\_controller on my app/controllers with all actions  
> > included.  
> > At my local win32 machine works fine, but in my production server the  
> > controller at the first request uses the rigth user controller on  
> > app/controllers but when I post to signup or logout the flash[:notice]  
> > comes from the login\_engine/app/user\_controller.rb seems that my  
> > controller was ignored.
> 
> I have the same problem, and can’t find anything about this.  
> Do you have a solution yet?
> 
> Marek

No solution yet,

I will try with the last Engines plugin 1.1.3 release.

P
