From e2f0dd62f237c6048edc50744cd67499b2d693ff Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Thu, 4 Jul 2013 08:36:19 +0530 Subject: Remove deprecated `Arel::Table#columns` with no replacement --- lib/arel/table.rb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/arel') diff --git a/lib/arel/table.rb b/lib/arel/table.rb index aa61c36a31..189fb8eb94 100644 --- a/lib/arel/table.rb +++ b/lib/arel/table.rb @@ -100,17 +100,6 @@ primary_key (#{caller.first}) is deprecated and will be removed in Arel 4.0.0 from(self).having expr end - def columns - if $VERBOSE - warn <<-eowarn -(#{caller.first}) Arel::Table#columns is deprecated and will be removed in -Arel 4.0.0 with no replacement. PEW PEW PEW!!! - eowarn - end - @columns ||= - attributes_for @engine.connection.columns(@name, "#{@name} Columns") - end - def [] name ::Arel::Attribute.new self, name end -- cgit v1.2.3