开发者

restful-authentication 'Could not find generator authenticated'

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.


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.


you can use gem "rails3-restful-authentication" supported for rails 3.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜