diff options
author | densya203 <kamimori2@skult.jp> | 2012-02-04 00:51:08 +0900 |
---|---|---|
committer | densya203 <kamimori2@skult.jp> | 2012-02-04 00:51:08 +0900 |
commit | daa266536e37f19af167c37b887088b7eaa0f466 (patch) | |
tree | 02923376984fd0b72338b1de87e536d28cb1e263 | |
parent | 4ca633e4663b62653ee017e5fd02dd86f06d1200 (diff) | |
download | rails-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::...'
-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) |