rails/rails — pull request #6358 by jfirebaugh (2012-05-16 22:21:54+00:00)
Title: 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.