阅读背景:

尝试使用'count'时出现错误的ActiveRecord关系验证

来源:互联网 

I have an Order class, and a Pack class, both using ActiveRecord. The Order contains Packs. In my validation of Order, I am testing for the existence of a relationship to one or more Packs. See the following code:I have an Order class, and a Pack class, both u




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

分享到: