All, Version 1.0.8 of the salted hash login generator is available. This contains a few minor bug fixes with the generator plus some README clarifications. If you are successfully running with the code already, you probably do not need this. Joe
Hi Followed the instructions in README_USER_LOGIN and README_LOCALIZATION. I experience the following problem on a fresh rails instance ( svn ). Most likely a setup problem since i''m new here. I had it working with an older version. Just restarted from scratch. undefined method `reset_session'' for nil:NilClass app/controllers/user_controller.rb:157:in `initialize'' script/server:48 Show framework trace /vendor/rails/actionpack/lib/action_controller/base.rb:670:in `reset_session'' /vendor/rails/actionpack/lib/action_controller/base.rb:279:in `new'' /vendor/rails/actionpack/lib/action_controller/base.rb:279:in `process'' /vendor/rails/railties/lib/dispatcher.rb:32:in `dispatch'' /home/jansenm/Projekte/rubyonrails/rails/public/dispatch.rb:10 /vendor/rails/activesupport/lib/active_support/dependencies.rb:189:in `load'' /vendor/rails/activesupport/lib/active_support/dependencies.rb:189:in `load'' /vendor/rails/railties/lib/webrick_server.rb:82:in `handle_dispatch'' /vendor/rails/railties/lib/webrick_server.rb:35:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:144:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:94:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:89:in `each'' /usr/lib/ruby/1.8/webrick/server.rb:89:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'' /vendor/rails/railties/lib/webrick_server.rb:21:in `dispatch'' And two comments Please remove the ''create table commands'' from the README or correct them. Please state explicitly in your readme that a user has to follow the instructions form README_LOCALIZIATION. Am Mittwoch, 11. Mai 2005 19:41 schrieb Joseph Hosteny:> All, > > Version 1.0.8 of the salted hash login generator is available. > This contains a few minor bug fixes with the generator plus some > README clarifications. If you are successfully running with the code > already, you probably do not need this. > > Joe > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Michael Jansen wrote:>Hi > >Followed the instructions in README_USER_LOGIN and README_LOCALIZATION. > >I experience the following problem on a fresh rails instance ( svn ). Most >likely a setup problem since i''m new here. I had it working with an older >version. Just restarted from scratch. > >undefined method `reset_session'' for nil:NilClass >app/controllers/user_controller.rb:157:in `initialize'' >script/server:48 > >Just to confirm, I also am having the same problem with the 1.0.8 update issued today. I had 1.0.7 working fine this morning, but figured I''d do a fresh install of 1.0.8. Thanks, Mike
Aah! Obviously I shouldn''t be releasing code today. Sorry guys, that was meant for a future release. Fix forthcoming. On May 11, 2005, at 5:34 PM, Mike Evans wrote:> Michael Jansen wrote: > > >> Hi >> >> Followed the instructions in README_USER_LOGIN and >> README_LOCALIZATION. >> >> I experience the following problem on a fresh rails instance >> ( svn ). Most likely a setup problem since i''m new here. I had it >> working with an older version. Just restarted from scratch. >> >> undefined method `reset_session'' for nil:NilClass >> app/controllers/user_controller.rb:157:in `initialize'' >> script/server:48 >> >> > Just to confirm, I also am having the same problem with the 1.0.8 > update issued today. I had 1.0.7 working fine this morning, but > figured I''d do a fresh install of 1.0.8. > > Thanks, > Mike > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Guys, Sorry for the goof up. I''m not certain how I did that, since CVS has the correct code. I must have uploaded the wrong gem accidentally. Anyway, I''ve replaced the 1.0.8 gem. Normally I''d rev the version, but I think it is warranted to replace it this instance since it doesn''t match the CVS revision. If this still happens (I had some initial trouble editing the file for the release, but I diff''ed it against my local copy, which passes rake tests), you can simply remove the ''initialize'' method altogether from the controller. I was testing some sample code to reset the session on startup to avoid one of the synchronization problems between the DB and session, and this code won''t work anyway (as a few have already seen from the exception). Again, apologies for the inconvenience. Joe On May 11, 2005, at 5:34 PM, Mike Evans wrote:> Michael Jansen wrote: > > >> Hi >> >> Followed the instructions in README_USER_LOGIN and >> README_LOCALIZATION. >> >> I experience the following problem on a fresh rails instance >> ( svn ). Most likely a setup problem since i''m new here. I had it >> working with an older version. Just restarted from scratch. >> >> undefined method `reset_session'' for nil:NilClass >> app/controllers/user_controller.rb:157:in `initialize'' >> script/server:48 >> >> > Just to confirm, I also am having the same problem with the 1.0.8 > update issued today. I had 1.0.7 working fine this morning, but > figured I''d do a fresh install of 1.0.8. > > Thanks, > Mike > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Hi Joe, Just to make sure, if I am just upgraded, all I should have to do is install using the gem and then invoke the generator via : generate salted_login User Localization. All my config files and tables stay the same? Thanks, steve On 5/11/05, Joseph Hosteny <jhosteny-ee4meeAH724@public.gmane.org> wrote:> Guys, > > Sorry for the goof up. I''m not certain how I did that, since CVS > has the correct code. I must have uploaded the wrong gem accidentally. > > Anyway, I''ve replaced the 1.0.8 gem. Normally I''d rev the > version, but I think it is warranted to replace it this instance > since it doesn''t match the CVS revision. > > If this still happens (I had some initial trouble editing the > file for the release, but I diff''ed it against my local copy, which > passes rake tests), you can simply remove the ''initialize'' method > altogether from the controller. I was testing some sample code to > reset the session on startup to avoid one of the synchronization > problems between the DB and session, and this code won''t work anyway > (as a few have already seen from the exception). > > Again, apologies for the inconvenience. > > Joe > > On May 11, 2005, at 5:34 PM, Mike Evans wrote: > > > Michael Jansen wrote: > > > > > >> Hi > >> > >> Followed the instructions in README_USER_LOGIN and > >> README_LOCALIZATION. > >> > >> I experience the following problem on a fresh rails instance > >> ( svn ). Most likely a setup problem since i''m new here. I had it > >> working with an older version. Just restarted from scratch. > >> > >> undefined method `reset_session'' for nil:NilClass > >> app/controllers/user_controller.rb:157:in `initialize'' > >> script/server:48 > >> > >> > > Just to confirm, I also am having the same problem with the 1.0.8 > > update issued today. I had 1.0.7 working fine this morning, but > > figured I''d do a fresh install of 1.0.8. > > > > Thanks, > > Mike > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On May 11, 2005, at 8:04 PM, Steve Odom wrote:> Hi Joe, > > Just to make sure, if I am just upgraded, all I should have to do is > install using the gem and then invoke the generator via : > > generate salted_login User Localization. > > All my config files and tables stay the same? > > Thanks, > > steve > > > On 5/11/05, Joseph Hosteny <jhosteny-ee4meeAH724@public.gmane.org> wrote: > >> Guys, >> >> Sorry for the goof up. I''m not certain how I did that, since CVS >> has the correct code. I must have uploaded the wrong gem >> accidentally. >> >> Anyway, I''ve replaced the 1.0.8 gem. Normally I''d rev the >> version, but I think it is warranted to replace it this instance >> since it doesn''t match the CVS revision. >> >> If this still happens (I had some initial trouble editing the >> file for the release, but I diff''ed it against my local copy, which >> passes rake tests), you can simply remove the ''initialize'' method >> altogether from the controller. I was testing some sample code to >> reset the session on startup to avoid one of the synchronization >> problems between the DB and session, and this code won''t work anyway >> (as a few have already seen from the exception). >> >> Again, apologies for the inconvenience. >> >> Joe >> >> On May 11, 2005, at 5:34 PM, Mike Evans wrote: >> >> >>> Michael Jansen wrote: >>> >>> >>> >>>> Hi >>>> >>>> Followed the instructions in README_USER_LOGIN and >>>> README_LOCALIZATION. >>>> >>>> I experience the following problem on a fresh rails instance >>>> ( svn ). Most likely a setup problem since i''m new here. I had it >>>> working with an older version. Just restarted from scratch. >>>> >>>> undefined method `reset_session'' for nil:NilClass >>>> app/controllers/user_controller.rb:157:in `initialize'' >>>> script/server:48 >>>> >>>> >>>> >>> Just to confirm, I also am having the same problem with the 1.0.8 >>> update issued today. I had 1.0.7 working fine this morning, but >>> figured I''d do a fresh install of 1.0.8. >>> >>> Thanks, >>> Mike >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Steve, If you run the generator, it will over write the user_environment.rb file, so you may want to back that one up first. You might want to try running it in a sandbox to see which files are overwritten, or tar up the original directory to have a backup first. Joe On May 11, 2005, at 8:04 PM, Steve Odom wrote:> Hi Joe, > > Just to make sure, if I am just upgraded, all I should have to do is > install using the gem and then invoke the generator via : > > generate salted_login User Localization. > > All my config files and tables stay the same? > > Thanks, > > steve > > > On 5/11/05, Joseph Hosteny <jhosteny-ee4meeAH724@public.gmane.org> wrote: > >> Guys, >> >> Sorry for the goof up. I''m not certain how I did that, since CVS >> has the correct code. I must have uploaded the wrong gem >> accidentally. >> >> Anyway, I''ve replaced the 1.0.8 gem. Normally I''d rev the >> version, but I think it is warranted to replace it this instance >> since it doesn''t match the CVS revision. >> >> If this still happens (I had some initial trouble editing the >> file for the release, but I diff''ed it against my local copy, which >> passes rake tests), you can simply remove the ''initialize'' method >> altogether from the controller. I was testing some sample code to >> reset the session on startup to avoid one of the synchronization >> problems between the DB and session, and this code won''t work anyway >> (as a few have already seen from the exception). >> >> Again, apologies for the inconvenience. >> >> Joe >> >> On May 11, 2005, at 5:34 PM, Mike Evans wrote: >> >> >>> Michael Jansen wrote: >>> >>> >>> >>>> Hi >>>> >>>> Followed the instructions in README_USER_LOGIN and >>>> README_LOCALIZATION. >>>> >>>> I experience the following problem on a fresh rails instance >>>> ( svn ). Most likely a setup problem since i''m new here. I had it >>>> working with an older version. Just restarted from scratch. >>>> >>>> undefined method `reset_session'' for nil:NilClass >>>> app/controllers/user_controller.rb:157:in `initialize'' >>>> script/server:48 >>>> >>>> >>>> >>> Just to confirm, I also am having the same problem with the 1.0.8 >>> update issued today. I had 1.0.7 working fine this morning, but >>> figured I''d do a fresh install of 1.0.8. >>> >>> Thanks, >>> Mike >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >