Forum: Ruby on Rails login_engine error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Aaad83b8fab9d3ea9cb547b95183d8de?d=identicon&s=25 Adam Kravetz (urbandirtbag)
on 2006-03-16 20:40
(Received via mailing list)
Hey All,

I have been unsuccessful at getting the login_engine installed.  I
have used it before but since the last time I've used it I can't get
it to work correctly.

I was wondering if someone could help out with the following error:

undefined method `password_confirmation=' for #<User:0x2aaaad1421a0>

Any Help?

Thanks,

Adam



<<<<<<REST OF ERROR MESSAGE>>>>>>>>>

RAILS_ROOT: /home/adam/hairist/public/../config/..
Application Trace | Framework Trace | Full Trace

#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1644:in
`method_missing'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1428:in
`attributes='
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1427:in
`attributes='
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1272:in
`initialize_without_callbacks'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:236:in
`initialize'
#{RAILS_ROOT}/vendor/plugins/login_engine/app/controllers/user_controller.rb:37:in
`signup'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:918:in
`perform_action_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:355:in
`perform_action_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:378:in
`process_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:364:in
`process_without_session_management_support'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
`process'
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
#{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:150:in
`process_request'
#{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
#{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
#{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
/home/adam/hairist/public/dispatch.fcgi:24
667bc7479ca9f34ee86b780ba23663e8?d=identicon&s=25 Adam.Cooper (Guest)
on 2006-03-16 22:49
(Received via mailing list)
I had problems like this with my login engine at one point.

I found I had created my own User model without referencing the default
one.

I can't remember the syntax for the ruby command to reference the login
portion (mixin?)

Try that and see if it helps.

Cheers,
Adam
This topic is locked and can not be replied to.