我有一个简单的acts_as样式模块,它包含在ActiveRecord::Base中。) end
end
我用在AR模型上的方法..。您会注意到,我已经注释掉了将丢失的方法发送到关联类的示例代码行--text_page.send(方法,*args和块)--因为仅仅调用关联-- text_page --就足以触发
within #<Foo:0x100138a98># => baz was called and was not found within #<Foo:0x100138a98>Call the `bar` methodfoo.baz was asked to be calledMethod `method_m