aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-03 16:07:28 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-03 16:07:28 -0800
commitac6296ab8f9d38dbfa8149eb0c6e16d6957dd519 (patch)
tree9589191765c41c75c8ee6d6694b17a7676f11cb9 /lib/arel/table.rb
parent7b3e8d67943c091d24ee4e4129a9b1892b7c7e6f (diff)
downloadrails-ac6296ab8f9d38dbfa8149eb0c6e16d6957dd519.tar.gz
rails-ac6296ab8f9d38dbfa8149eb0c6e16d6957dd519.tar.bz2
rails-ac6296ab8f9d38dbfa8149eb0c6e16d6957dd519.zip
only break backwards compatibility in major releases
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r--lib/arel/table.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index 79c9b60945..e7a626a4c6 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -45,7 +45,7 @@ module Arel
def joins manager
if $VERBOSE
- warn "joins is deprecated and will be removed in 2.2"
+ warn "joins is deprecated and will be removed in 3.0.0"
warn "please remove your call to joins from #{caller.first}"
end
nil
@@ -95,7 +95,7 @@ module Arel
if $VERBOSE
warn <<-eowarn
(#{caller.first}) Arel::Table#columns is deprecated and will be removed in
-Arel 2.2.0 with no replacement. PEW PEW PEW!!!
+Arel 3.0.0 with no replacement. PEW PEW PEW!!!
eowarn
end
@columns ||=
@@ -129,7 +129,7 @@ Arel 2.2.0 with no replacement. PEW PEW PEW!!!
if $VERBOSE
warn <<-eowarn
(#{caller.first}) Arel::Table.table_cache is deprecated and will be removed in
-Arel 2.2.0 with no replacement. PEW PEW PEW!!!
+Arel 3.0.0 with no replacement. PEW PEW PEW!!!
eowarn
end
@@table_cache ||= Hash[engine.connection.tables.map { |x| [x,true] }]