I was curious how class​ Test < ActiveRecord::Migration[6.0] actually works under the covers. Three key discoveries were:
class​ Test < ActiveRecord::Migration[6.0]
ActiveRecord::Migration[6.0]
[](version)
a[b]
a.[](b)