aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration.rb
diff options
context:
space:
mode:
authorwangjohn <wangjohn@mit.edu>2013-08-24 23:33:56 -0400
committerwangjohn <wangjohn@mit.edu>2013-08-24 23:34:43 -0400
commit3fd134c5594a4c05934a41bb66db4048ab5e3cb9 (patch)
tree846ec697ef56890206835c1de15a32827bbd19b0 /activerecord/lib/active_record/migration.rb
parent539180cf8edaa405928162644dc617b4c179edff (diff)
downloadrails-3fd134c5594a4c05934a41bb66db4048ab5e3cb9.tar.gz
rails-3fd134c5594a4c05934a41bb66db4048ab5e3cb9.tar.bz2
rails-3fd134c5594a4c05934a41bb66db4048ab5e3cb9.zip
Changing deprecation_horizon to be Rails 4.2
Also, +ActiveRecord::Migrator.proper_table_name+ should actually have a deprecation horizon of Rails 4.2 (not 4.1).
Diffstat (limited to 'activerecord/lib/active_record/migration.rb')
-rw-r--r--activerecord/lib/active_record/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 888e8771ce..a1ad4f6255 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -828,7 +828,7 @@ module ActiveRecord
end
def proper_table_name(name, options = {})
- ActiveSupport::Deprecation.warn "ActiveRecord::Migrator.proper_table_name is deprecated and will be removed in Rails 4.1. Use the proper_table_name instance method on ActiveRecord::Migration instead"
+ ActiveSupport::Deprecation.warn "ActiveRecord::Migrator.proper_table_name is deprecated and will be removed in Rails 4.2. Use the proper_table_name instance method on ActiveRecord::Migration instead"
options = {
table_name_prefix: ActiveRecord::Base.table_name_prefix,
table_name_suffix: ActiveRecord::Base.table_name_suffix