views:

403

answers:

3

Hey everyone,

I just installed the restful-authentication plugin on Rails 3, using: rails plugin install git://github.com/technoweenie/restful-authentication.git

To generate the authentication files, the tutorial stated I should execute:

ruby script/generate authenticated user sessions --include-activation

(which in rails3 is):

rails g authenticated user sessions --include-activation

However, when I execute this line, I get the following error: "Could not find generator authenticated."

..Does anyone have any pointers on how to get past this? I may have also messed up the 'rails g' command i specified.

Thanks.

A: 

Nevermind. Found the solution on a forum. Tried using the git repository at http://github.com/satish/restful-authentication and it worked just fine. I think it's a mod of the original restful-authentication designed specifically for rails 3.

dpigera
A: 

I have this problem too, and then google "restful-authentication rail3" please visit here , http://github.com/Satish/restful-authentication

joinall

related questions