阅读背景:

Ruby未定义方法“strftime”为nil:NilClass。

来源:互联网 

I've only been working with Ruby for a short time and I've hit a wall today while working on a calendar to put requests on. I spent time searching through different undefinied method error documents on stackoverflow, the ruby guides, etc. as well as looking into strftime. I found a solution that partially solved my problem using try, but now it is not actually passing the strftime through to show on the request, even though the rails server is picking it up in the post. I can get to my calendar fine, and hit the new request button, fill out the form, but when I go to post that form the browsers gives me this:I've only been working with Ruby for a short ti




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: