Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10850 from arunagw/build_fix_null_migration

Need to pass parameters
  • Loading branch information...
commit 17624a0b043c54d291204e1835511895cb05f4bd 2 parents 9d728cd + 6613a88
Aaron Patterson tenderlove authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/migration.rb
6 activerecord/lib/active_record/migration.rb
View
@@ -722,8 +722,8 @@ def load_migration
end
- class NullMigration < MigrationProxy
- def initialize(name, version, filename, scope)
+ class NullMigration < MigrationProxy #:nodoc:
+ def initialize
super(nil, 0, nil, nil)
end
@@ -805,7 +805,7 @@ def last_version
last_migration.version
end
- def last_migration # :nodoc:
+ def last_migration #:nodoc:
migrations(migrations_paths).last || NullMigration.new
end
Please sign in to comment.
Something went wrong with that request. Please try again.