Skip to content

Commit

Permalink
Fix Issue rails#4819
Browse files Browse the repository at this point in the history
'uninitialized constant ActiveRecord::Deprecation in Rails3.2.1'

Just a typo of 'ActiveSupport::...'
  • Loading branch information
densya203 committed Feb 3, 2012
1 parent 4ca633e commit daa2665
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)
Expand Down

0 comments on commit daa2665

Please sign in to comment.