Call methods on the correct instance in AR::Schema.define
Now that migrations support instance methods, we should use the same instance rather than relying on delegation to a global instance. This allows subclassing AR::Schema.
Showing
想要评论请 注册 或 登录