diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-03 09:10:59 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-03 09:10:59 -0800 |
commit | 9aa4c6d7ce0707fe7e43bc919618d804836e1d71 (patch) | |
tree | 02923376984fd0b72338b1de87e536d28cb1e263 /activerecord/lib/active_record/connection_adapters | |
parent | 4ca633e4663b62653ee017e5fd02dd86f06d1200 (diff) | |
parent | daa266536e37f19af167c37b887088b7eaa0f466 (diff) | |
download | rails-9aa4c6d7ce0707fe7e43bc919618d804836e1d71.tar.gz rails-9aa4c6d7ce0707fe7e43bc919618d804836e1d71.tar.bz2 rails-9aa4c6d7ce0707fe7e43bc919618d804836e1d71.zip |
Merge pull request #4868 from skult/3-2-stable
Fix Issue #4819
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-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 20d3b4a1ef..f79b18390e 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -426,7 +426,7 @@ module ActiveRecord si_table = Base.table_name_prefix + 'schema_info' + Base.table_name_suffix if table_exists?(si_table) - ActiveRecord::Deprecation.warn "Usage of the schema table `#{si_table}` is deprecated. Please switch to using `schema_migrations` table" + ActiveSupport::Deprecation.warn "Usage of the schema table `#{si_table}` is deprecated. Please switch to using `schema_migrations` table" old_version = select_value("SELECT version FROM #{quote_table_name(si_table)}").to_i assume_migrated_upto_version(old_version) |