I'm getting the following problem after entering my email in the "forgotten 
password' form.  But, oddly it only happens in production mode, not 
development mode.  Any ideas?


---cut----
undefined method `errors' for nil:NilClass

Extracted source (around line #4):

1: <div title="<%= title_helper %>" class="form">
2:   <h3>Forgotten Password</h3>
3: 
4:   <%= error_messages_for 'user' %>
5: 
6:   <div class="form-padding">
7:     <p>Enter your email address in the field below and click 'Reset 
Password' to have instructions on how to retrieve your forgotten password 
emailed to you.</p>

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

./script/../config/../vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb:106:in
 
`error_messages_for'
#{RAILS_ROOT}/vendor/plugins/login_engine/app/views/user/forgot_password.rhtml:4
./script/../config/../vendor/rails/actionpack/lib/action_view/base.rb:268:in 
`compile_and_render_template'
./script/../config/../vendor/rails/actionpack/lib/action_view/base.rb:244:in 
`render_template'
./script/../config/../vendor/rails/actionpack/lib/action_view/base.rb:205:in 
`render_file'
./script/../config/../vendor/rails/actionpack/lib/action_controller/base.rb:655:in
 
`render_file'
./script/../config/../vendor/rails/actionpack/lib/action_controller/base.rb:595:in
 
`render_with_no_layout'
./script/../config/../vendor/rails/actionpack/lib/action_controller/layout.rb:220:in
 
`render_without_benchmark'
./script/../config/../vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
 
`render'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
./script/../config/../vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
 
`render'
./script/../config/../vendor/rails/actionpack/lib/action_controller/base.rb:854:in
 
`perform_action_without_filters'
./script/../config/../vendor/rails/actionpack/lib/action_contr  
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to