FYI:  I use the alias_method which seems to work well.

alias_method :orig_login, :login

Then I can do my stuff and call orig_login from the login_engine.

-Jay

On 6/19/06, Jay Powers <[EMAIL PROTECTED]> wrote:
> Thanks.  I was looking into super.  I thought I could call that, but
> my user_controller is not a child of the login engine's.  Oh well.
>
> Jay
>
> On 6/18/06, James Adam <[EMAIL PROTECTED]> wrote:
> > Without know more about what you want to do, the answer is probably
> > not... if you want to add parameters to a method, you'll have to
> > redefine it.
> >
> > - james
> >
> > On 6/16/06, Jay Powers <[EMAIL PROTECTED]> wrote:
> > > I would like to add a few variables to an existing "login" method in
> > > the login engine.  Is there an easy way to do that with out overriding
> > > the whole method?  I also don't want to copy the whole method in my
> > > class.
> > >
> > > Thanks,
> > >
> > > --
> > > Jay Powers
> > > _______________________________________________
> > > engine-developers mailing list
> > > [email protected]
> > > http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
> > >
> >
> >
> > --
> > * J *
> >   ~
> > _______________________________________________
> > engine-developers mailing list
> > [email protected]
> > http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
> >
>
>
> --
> Jay Powers
>


-- 
Jay Powers
_______________________________________________
engine-developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

Reply via email to