阅读背景:

如何使用accepts_nested_attributes_for创建RoR Factory关联?

来源:互联网 

As Anton points out (thanks Anton!) my problem is Association Caching in the tests and it seems like I did correctly create the nested_attribute in the Factory. The correct syntax is:As Anton points out (thanks Anton!) my problem




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

分享到: