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/ anyone else had anything similar or know what I might be doing wrong? dorian -- I do things for love or money
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 Goodwin Dorian Mcfarland wrote:> 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/ > > anyone else had anything similar or know what I might be doing wrong? > > dorian > > -- > I do things for love or money > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-- Eric Goodwin http://www.ericgoodwin.com
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. -- Posted via http://www.ruby-forum.com/.
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 Dorian Mcfarland wrote:> 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/ > > anyone else had anything similar or know what I might be doing wrong? > > dorian > > -- > I do things for love or money > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-- -- I do things for love or money