diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-09 06:47:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-09 06:47:13 -0300 |
commit | 1663f5ad879519544affc7364e18bfb7c9bfd0a9 (patch) | |
tree | c68705d6ab01e2e5e4021f99ead2d1d98450f153 | |
parent | 5b1ea3ea00579e45ed8b46a23a007c328f766786 (diff) | |
download | rails-1663f5ad879519544affc7364e18bfb7c9bfd0a9.tar.gz rails-1663f5ad879519544affc7364e18bfb7c9bfd0a9.tar.bz2 rails-1663f5ad879519544affc7364e18bfb7c9bfd0a9.zip |
Don't set the default argument
It is always passed in
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 7974ff3710..08803303cf 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -859,7 +859,7 @@ module ActiveRecord ActiveRecord::SchemaMigration.create_table end - def assume_migrated_upto_version(version, migrations_paths = ActiveRecord::Migrator.migrations_paths) + def assume_migrated_upto_version(version, migrations_paths) migrations_paths = Array(migrations_paths) version = version.to_i sm_table = quote_table_name(ActiveRecord::Migrator.schema_migrations_table_name) |