Permalink
Browse files

Fix Build. Changing constructor.

  • Loading branch information...
1 parent 9d728cd commit 6613a88f6cbd67cb42944f13f4f394d8d4156783 @arunagw arunagw committed Jun 5, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/migration.rb
@@ -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

0 comments on commit 6613a88

Please sign in to comment.