Skip to content
Browse files

Fix Issue #4819

'uninitialized constant ActiveRecord::Deprecation in Rails3.2.1'

Just a typo of 'ActiveSupport::...'
  • Loading branch information...
1 parent 4ca633e commit daa266536e37f19af167c37b887088b7eaa0f466 @skult skult committed
View
2 activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -426,7 +426,7 @@ def initialize_schema_migrations_table
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)

0 comments on commit daa2665

Please sign in to comment.
Something went wrong with that request. Please try again.