diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-07-04 08:36:19 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-07-04 08:36:19 +0530 |
commit | e2f0dd62f237c6048edc50744cd67499b2d693ff (patch) | |
tree | 96b36af8aeb0f4a54b64eb5f35843dcf89355827 | |
parent | 402b8ffdca81075fdee86f213c3a14bbb43dee13 (diff) | |
download | rails-e2f0dd62f237c6048edc50744cd67499b2d693ff.tar.gz rails-e2f0dd62f237c6048edc50744cd67499b2d693ff.tar.bz2 rails-e2f0dd62f237c6048edc50744cd67499b2d693ff.zip |
Remove deprecated `Arel::Table#columns` with no replacement
-rw-r--r-- | lib/arel/table.rb | 11 |
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 |