I’ve updated the code for the rails basic auth generator [1]. This generator is for my tutorial on Basic User Authentication in Rails [2] (This has been bookmarked by over 1100 people on del.icio.us which is pretty cool:)). I wrote the tutorial using rails 1.0. Using the code from the tutorial with rails 1.2 will generate a list of deprecation warnings. The updated generator has some minor changes to the code to avoid these deprecation warnings. They mainly involved changing start_form_tag to form_for :x do |form| and updating deprecated assertions in the unit tests.