1 2 3 4 5 6 7 8
class MigrationVersionCheck < ActiveRecord::Migration def self.up raise "incorrect migration version" unless version == 20131219224947 end def self.down end end