lib/departure.rb in departure-4.0.1 vs lib/departure.rb in departure-5.0.0
- old
+ new
@@ -30,10 +30,10 @@
# Hooks Percona Migrator into Rails migrations by replacing the configured
# database adapter
def self.load
ActiveRecord::Migrator.instance_eval do
class << self
- alias_method(:original_migrate, :migrate)
+ alias original_migrate migrate
end
# Checks whether arguments are being passed through PERCONA_ARGS when running
# the db:migrate rake task
#