阅读背景:

在模型中定义可以在控制器中访问的方法

来源:互联网 

I have defined a problems method in my Report model. I need to use the value of Report.problem in the report's controller while defining the action show. But i keep getting the error message 'undefined method problem'. How do i solve this? Any assistance would be greatful.I have defined a problems method in my Report m




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

分享到: