aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
diff options
context:
space:
mode:
authordensya203 <kamimori2@skult.jp>2012-02-04 00:51:08 +0900
committerdensya203 <kamimori2@skult.jp>2012-02-04 00:51:08 +0900
commitdaa266536e37f19af167c37b887088b7eaa0f466 (patch)
tree02923376984fd0b72338b1de87e536d28cb1e263 /activerecord/lib/active_record/connection_adapters/abstract
parent4ca633e4663b62653ee017e5fd02dd86f06d1200 (diff)
downloadrails-daa266536e37f19af167c37b887088b7eaa0f466.tar.gz
rails-daa266536e37f19af167c37b887088b7eaa0f466.tar.bz2
rails-daa266536e37f19af167c37b887088b7eaa0f466.zip
Fix Issue #4819
'uninitialized constant ActiveRecord::Deprecation in Rails3.2.1' Just a typo of 'ActiveSupport::...'
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
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)