Skip to content

Commit

Permalink
Fix Build. Changing constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Jun 5, 2013
1 parent 9d728cd commit 6613a88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activerecord/lib/active_record/migration.rb
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6613a88

Please sign in to comment.