阅读背景:

Ruby on Rails:未定义的方法`user'for#

来源:互联网 

The code is below. User is the name in my database, but it is saying it is an undefined method when it should not be. It is just a string value in my database. I have looked at all the other posts about this error but their solutions did not work for me. (I used scaffold btw so I don't know if that affects anything)The code is below. User is the name in my datab




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

分享到: