aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-03-28 22:14:04 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-03-28 22:14:04 +0000
commit3704f4ba2e937e32677d461d54fdaa3172a1df8b (patch)
treece447519d956c169dde272f8ab91cfdd67f3ed53 /activerecord
parenta61b63d42056b119e061f7ebf31985887d569c79 (diff)
downloadrails-3704f4ba2e937e32677d461d54fdaa3172a1df8b.tar.gz
rails-3704f4ba2e937e32677d461d54fdaa3172a1df8b.tar.bz2
rails-3704f4ba2e937e32677d461d54fdaa3172a1df8b.zip
Fix new migration versions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 58374a01ad..4c10cd806c 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -343,7 +343,7 @@ module ActiveRecord
end
def run(direction, migrations_path, target_version)
- self.new(direction, migrations_path, target_version)
+ self.new(direction, migrations_path, target_version).run
end
def schema_info_table_name