开发者

I can't make questions_answers_foo plugin work

I've downloaded the questions_answers_foo plugin and placed it at vendor->plugins folder, as I usua开发者_如何学编程lly do. Then, following its documentation, I ran rake question_answers:install and I get this in the output:

ArgumentError: wrong # of arguments(0 for 1)

I followed the installation steps but I get this error. Does anybody know where can I find the method that it's causing the error. I already checked the plugin's files but I have no clue yet.

Thanks, Brian


Try:

rake question_answers:install --trace


I notice that this plugin expects you to have a field in your User model called 'login' - can you be certain that you have that? If you are using nifty_authentication for instance, then you will possibly have a field called 'username' (depending on your setup) instead of 'login'

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜