请帮助我理解has_one/has_many :through
关联的:source
选项。Rails API的解释对我来说没什么意义。
"指定
has_many
使用的源关联名称:through => :查询> < /代码。仅当名称不能从 协会。
has_many :subscribers, :through => :subscriptions
将 在Subscription
上查找:subscribers
或:subscriber
, 除非给出:source
。" < / p >