diff options
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r-- | lib/arel/table.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb index 82d160b87e..7a1983b3d2 100644 --- a/lib/arel/table.rb +++ b/lib/arel/table.rb @@ -32,7 +32,7 @@ module Arel def primary_key if $VERBOSE warn <<-eowarn -primary_key (#{caller.first}) is deprecated and will be removed in ARel 3.0.0 +primary_key (#{caller.first}) is deprecated and will be removed in ARel 4.0.0 eowarn end @primary_key ||= begin @@ -54,7 +54,7 @@ primary_key (#{caller.first}) is deprecated and will be removed in ARel 3.0.0 def joins manager if $VERBOSE - warn "joins is deprecated and will be removed in 3.0.0" + warn "joins is deprecated and will be removed in 4.0.0" warn "please remove your call to joins from #{caller.first}" end nil @@ -104,7 +104,7 @@ primary_key (#{caller.first}) is deprecated and will be removed in ARel 3.0.0 if $VERBOSE warn <<-eowarn (#{caller.first}) Arel::Table#columns is deprecated and will be removed in -Arel 3.0.0 with no replacement. PEW PEW PEW!!! +Arel 4.0.0 with no replacement. PEW PEW PEW!!! eowarn end @columns ||= @@ -138,7 +138,7 @@ Arel 3.0.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 3.0.0 with no replacement. PEW PEW PEW!!! +Arel 4.0.0 with no replacement. PEW PEW PEW!!! eowarn end @@table_cache ||= Hash[engine.connection.tables.map { |x| [x,true] }] |