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
On 3/16/06, Adam M. Kravetz <kravetz@gmail.com>
wrote:>
> 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
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060316/a8be65fd/attachment.html