On Wednesday 22 March 2006 07:58 am, Steve Koppelman wrote: > Does the path to the application on your production server contain any > hyphens or other punctuation characters? There's a problem that was just > fixed in the trunk of the Engines plugin. >
And actually, there is a colon because it's running on a non standard port. > See http://www.ruby-forum.com/topic/58373 > > The same thing was happening to me and this seems to have fixed it > completely. > > It's a one-line change to one file in the Engines plugin so it's pretty > easy to test without having to install an entirely new version. > > -sk > > David Corbin wrote: > > 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/act > >ive_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/layou > >t.rb:220:in `render_without_benchmark' > > ./script/../config/../vendor/rails/actionpack/lib/action_controller/bench > >marking.rb:53:in `render' > > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > > ./script/../config/../vendor/rails/actionpack/lib/action_controller/bench > >marking.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
