Rails: restful authentication setup help

Posted by SuperString on Stack Overflow See other posts from Stack Overflow or by SuperString
Published on 2011-01-10T06:30:17Z Indexed on 2011/01/10 7:53 UTC
Read the original article Hit count: 324

Filed under:

Hi I downloaded the plugin from http://github.com/techweenie/restful-authentication.git

Then I run rails generate plugin authenticated user session

This is the result I got:

   create  vendor/plugins/authenticated
      create  vendor/plugins/authenticated/MIT-LICENSE
      create  vendor/plugins/authenticated/README
      create  vendor/plugins/authenticated/Rakefile
      create  vendor/plugins/authenticated/init.rb
      create  vendor/plugins/authenticated/install.rb
      create  vendor/plugins/authenticated/uninstall.rb
      create  vendor/plugins/authenticated/lib
      create  vendor/plugins/authenticated/lib/authenticated.rb
      invoke  test_unit
      inside    vendor/plugins/authenticated
      create      test
      create      test/authenticated_test.rb
      create      test/test_helper.rb

Then I tried to do rake db:migrate

But I got error that says rake tasks in restful-authentication/tasks/auth.rake are deprecated. Use lib/tasks instead.

I am new to rails, tried looking online but things seem to be outdated. Please help!

© Stack Overflow or respective owner

Related posts about ruby-on-rails