aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-07-04 08:36:19 +0530
committerVipul A M <vipulnsward@gmail.com>2013-07-04 08:36:19 +0530
commite2f0dd62f237c6048edc50744cd67499b2d693ff (patch)
tree96b36af8aeb0f4a54b64eb5f35843dcf89355827 /lib/arel
parent402b8ffdca81075fdee86f213c3a14bbb43dee13 (diff)
downloadrails-e2f0dd62f237c6048edc50744cd67499b2d693ff.tar.gz
rails-e2f0dd62f237c6048edc50744cd67499b2d693ff.tar.bz2
rails-e2f0dd62f237c6048edc50744cd67499b2d693ff.zip
Remove deprecated `Arel::Table#columns` with no replacement
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/table.rb11
1 files changed, 0 insertions, 11 deletions
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