阅读背景:

Rails:ActiveRecord和send;如何只知道类名来设置activerecord实例的关系?

来源:互联网 

So I'm iterating through all my AR's and setting their relationships dynamically...so I know that I have SomeObject and that it belongs_to ManyObjects...I want to do something like this:So I'm iterating through all my AR's and settin




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

分享到: