Permalink
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 @densya203 densya203 committed Feb 3, 2012
@@ -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.