Hello all, I''m currently upgrading my app to Rails 1.2, and the login_engine has been deprecated for that version. Is there an easy way to upgrade my existing user table (especially passwords) for use with acts_as_authenticated? thanks in advance. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bart Zonneveld wrote:> Hello all, > > I''m currently upgrading my app to Rails 1.2, and the login_engine has > been deprecated for that version. > Is there an easy way to upgrade my existing user table (especially > passwords) for use with acts_as_authenticated? > > thanks in advance.Nobody?... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m in the process of upgrading a rails app from login_engine to acts as authenticated. I believe that the user table from login_engine is compatible with AAA. I am having one problem though. When I go to run the AAA generator I get the following error: bash-# script/generate authenticated --svn user account ./script/../config/../vendor/plugins/engines/lib/engines.rb:355:in `initialize'': Cannot find the engine ''login'' in either /vendor/plugins/ login, /vendor/plugins/login_engine or /vendor/plugins/login_bundle. (RuntimeError) from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:172:in `new'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:172:in `start_engine'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:141:in `start'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:140:in `each'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:140:in `start'' from ./script/../config/../config/environment.rb:56 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require'' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/ generate.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require'' from script/generate:3 I have already un-installed the login engine with the following command: bash-# script/plugin remove login_engine However, it looks like the generator authenticated is still confused. I''m looking for a solution to this problem but haven''t found one yet. On 14 May, 02:56, Bart Zonneveld <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Bart Zonneveld wrote: > > Hello all, > > > I''m currently upgrading my app to Rails 1.2, and the login_engine has > > been deprecated for that version. > > Is there an easy way to upgrade my existing user table (especially > > passwords) for use with acts_as_authenticated? > > > thanks in advance. > > Nobody?... > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I completely removed and re-installed acts as authenticated and now I''m getting the following error: bash-# script/generate authenticated --svn user account /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ dependencies.rb:123:in `const_missing'': uninitialized constant LoginEngine (NameError) from ./script/../config/../vendor/plugins/user_engine/lib/ user_engine.rb:46 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:147:in `require'' from script/../config/../vendor/plugins/user_engine/ init_engine.rb:27:in `start_engine'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:201:in `start_engine'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:141:in `start'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:140:in `each'' from ./script/../config/../vendor/plugins/engines/lib/ engines.rb:140:in `start'' from ./script/../config/../config/environment.rb:56 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require'' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/ generate.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require'' from script/generate:3 On May 30, 2:43 pm, LinuxDan <Linux...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m in the process of upgrading a rails app from login_engine to acts > as authenticated. I believe that the user table from login_engine is > compatible with AAA. I am having one problem though. When I go to run > the AAA generator I get the following error: > > bash-# script/generate authenticated --svn user account > > ./script/../config/../vendor/plugins/engines/lib/engines.rb:355:in > `initialize'': Cannot find the engine ''login'' in either /vendor/plugins/ > login, /vendor/plugins/login_engine or /vendor/plugins/login_bundle. > (RuntimeError) > from ./script/../config/../vendor/plugins/engines/lib/ > engines.rb:172:in `new'' > from ./script/../config/../vendor/plugins/engines/lib/ > engines.rb:172:in `start_engine'' > from ./script/../config/../vendor/plugins/engines/lib/ > engines.rb:141:in `start'' > from ./script/../config/../vendor/plugins/engines/lib/ > engines.rb:140:in `each'' > from ./script/../config/../vendor/plugins/engines/lib/ > engines.rb:140:in `start'' > from ./script/../config/../config/environment.rb:56 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `gem_original_require'' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `require'' > from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/ > generate.rb:1 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `gem_original_require'' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `require'' > from script/generate:3 > > I have already un-installed the login engine with the following > command: > > bash-# script/plugin remove login_engine > > However, it looks like the generator authenticated is still confused. > I''m looking for a solution to this problem but haven''t found one yet. > > On 14 May, 02:56, Bart Zonneveld <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > Bart Zonneveld wrote: > > > Hello all, > > > > I''m currently upgrading my app to Rails 1.2, and the login_engine has > > > been deprecated for that version. > > > Is there an easy way to upgrade my existing user table (especially > > > passwords) for use with acts_as_authenticated? > > > > thanks in advance. > > > Nobody?... > > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ok so what you have to to is add a column to your existing users table called crypted_password. Also the problems I was having steamed from lines in config/environment specific to login_engin. I commented those lines out and things started working. On May 14, 2:56 am, Bart Zonneveld <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Bart Zonneveld wrote: > > Hello all, > > > I''m currently upgrading my app to Rails 1.2, and the login_engine has > > been deprecated for that version. > > Is there an easy way to upgrade my existing user table (especially > > passwords) for use with acts_as_authenticated? > > > thanks in advance. > > Nobody?... > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---