# Login\_engine

**URL:** <https://www.ruby-forum.com/t/login-engine/84289>\
**Category:** Rails\
**Created:** [March 20, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/login-engine/84289 "2006-03-20T19:17:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tachekent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Post date:** [March 20, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/login-engine/84289/1 "2006-03-20T19:17:35Z")

</div>

Hello,  
I’m having trouble getting login\_engine to work properly. I get the  
standard login/registration views, but whenever I try to register I get:

NoMethodError in User#signup  
undefined method `password\_confirmation=’ for #User:0x408b2f9c

I have login\_engine, and engines installed from cvs:  
[http://opensvn.csie.org/rails\_engines/plugins/](http://opensvn.csie.org/rails_engines/plugins/)

anyone else had anything similar or know what I might be doing wrong?

dorian

–  
I do things for love or money

---

<div class="post-metadata">

**Author:** ![tachekent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Post date:** [March 20, 2006, 7:20pm UTC](https://www.ruby-forum.com/t/login-engine/84289/2 "2006-03-20T19:20:31Z")

</div>

Hi,

Do you already have a app/models/user.rb in your main app?  
If you do then the engine’s user model will not get initiated, and it is  
the one with the password\_confirmation method in it.

Cheers,  
Eric G.

Dorian M. wrote:

> anyone else had anything similar or know what I might be doing wrong?
> 
> dorian
> 
> –  
> I do things for love or money
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Eric G.  
[http://www.ericgoodwin.com](http://www.ericgoodwin.com)

---

<div class="post-metadata">

**Author:** ![tachekent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Post date:** [March 20, 2006, 7:27pm UTC](https://www.ruby-forum.com/t/login-engine/84289/3 "2006-03-20T19:27:04Z")

</div>

I just got the login\_engine working. I tried the salted login engine  
plugin before using login\_engine and had to clean out my project  
directories before the login\_engine could function properly.

You should do as Eric suggests and take a look at files in your project.  
If you clean everything out and try re-installing the login\_engine it  
should deploy property.

---

<div class="post-metadata">

**Author:** ![tachekent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Post date:** [March 20, 2006, 7:28pm UTC](https://www.ruby-forum.com/t/login-engine/84289/4 "2006-03-20T19:28:07Z")

</div>

sorry,  
I just saw the post from 4 days ago, which fixed it for me.  
I keep doing that - I’ll pay more attention in future.

d
