Skip to content
Browse files

remove leftover if after deprecation removal (6856312).

  • Loading branch information...
1 parent 1bf5fc2 commit 8b5439cdf9c0d8ab8acf4f0cbddfa2388c2ac444 @senny senny committed Jul 4, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 activerecord/lib/active_record/migration.rb
View
5 activerecord/lib/active_record/migration.rb
@@ -866,10 +866,7 @@ def initialize(direction, migrations, target_version = nil)
@direction = direction
@target_version = target_version
@migrated_versions = nil
-
- if Array(migrations).grep(String).empty?
- @migrations = migrations
- end
+ @migrations = migrations
validate(@migrations)

1 comment on commit 8b5439c

@carlosantoniodasilva
Ruby on Rails member

❤️

Please sign in to comment.
Something went wrong with that request. Please try again.