From 46334bac3d0269952e53bb817372cad4d43cb9e1 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Wed, 9 Sep 2015 16:30:48 +0200 Subject: remove dead code. The last call site of `last_version` was removed with: 838e18321118ee3ec6669217e5ea0216f79c969a --- activerecord/lib/active_record/migration.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index f087a1eaa6..5bdb7213cd 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -941,10 +941,6 @@ module ActiveRecord migrations(migrations_paths).any? end - def last_version - last_migration.version - end - def last_migration #:nodoc: migrations(migrations_paths).last || NullMigration.new end -- cgit v1.2.3