阅读背景:

Rails——使用与自定义命名关联的连接

来源:互联网 

I have the following model

我有以下模型

class Measurement < ApplicationRecord
  belongs_to :examination, class_name: "TestStructure", foreign_key: "examination_id"

end
class Mea



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

分享到: