我在我的Rails3应用程序中使用restful_authentication插件,现在试图安装forgot_password插件来使用它,没有问题安装插件,一切都很顺利,但我可以' t似乎会生成forgot_password。Rails3:无法安装在Rails3中忘记密码插件
有人告诉我,运行以下命令我安装forgot_password插件后:
ruby script/generate forgot_password password user
但因为使用Rails3中的IM,我跑上面的命令是这样的:
rails generate forgot_password password user
但它总是退出与错误:
Could not find generator forgot_password.
哦,还有一件事,实际的命令看起来像这样的:
ruby script/generate forgot_password <password-model-name> <user-model-name>
谁能告诉我这是什么密码型号名称是,我的意思是我只对用户的模型我没有一个密码,然后什么是我该做的,
感谢您的帮助..