Salted Login Generator issues

Ben Bleything
Wed, 18 May 2005 00:37:36 -0000

Hello all,

I''ve just installed and begun to integrate the salted login generator.
So far I''m very impressed, though I''ve hit a few snags along
the way.
Unfortunately, I''ve met the first one that I haven''t been able
to
resolve on my own.

When I hit the login action, I get errors in my log files.  The specific
error with trace is included below.  Unfortunately, I''m a ruby/rails
newb and my skills don''t seem to be strong enough to track this one
down.

Another problem I''m having, and I''m not sure if this is
related or not,
is that every page load drops the following in my apache error log:

[Tue May 17 17:14:52 2005] [error] [client xxx.xxx.xxx.xxx] FastCGI:
server "/opt/www/toolbox/public/dispatch.fcgi" stderr:
/opt/www/toolbox/public/../config/..//app/helpers/user_helper.rb:8:
warning: already initialized constant DEFAULT_HEAD_OPTIONS

I''ve grepped the entire tree and the only mentions of
DEFAULT_HEAD_OPTIONS exist in that file.  It''s set at the beginning of
the file:

DEFAULT_HEAD_OPTIONS = {
  :notice => true,
  :message => true,
  :error => false
}.freeze

It must exist elsewhere in the app, but I can''t find where.  Probably
part of rails itself... is anyone else using the salted login generator
seeing this one?

Thanks,
Ben