diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-09 17:24:22 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-09 17:24:22 -0800 |
commit | e0d3bcb6519faec69326a98413cb6d5406d9cb58 (patch) | |
tree | 4de88c17903d6ce5da365920864315ba8b6bfb00 /lib | |
parent | 9e53488b1d8d535182a989bd38fbb171aebbeef5 (diff) | |
parent | e2f0dd62f237c6048edc50744cd67499b2d693ff (diff) | |
download | rails-e0d3bcb6519faec69326a98413cb6d5406d9cb58.tar.gz rails-e0d3bcb6519faec69326a98413cb6d5406d9cb58.tar.bz2 rails-e0d3bcb6519faec69326a98413cb6d5406d9cb58.zip |
Merge pull request #196 from vipulnsward/remove_deprecated
Remove deprecated
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/table.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb index ef109afe95..32e3d84099 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 @@ -149,15 +138,5 @@ Arel 4.0.0 with no replacement. PEW PEW PEW!!! end end - @@table_cache = nil - def self.table_cache engine # :nodoc: - if $VERBOSE - warn <<-eowarn -(#{caller.first}) Arel::Table.table_cache is deprecated and will be removed in -Arel 4.0.0 with no replacement. PEW PEW PEW!!! - eowarn - end - @@table_cache ||= Hash[engine.connection.tables.map { |x| [x,true] }] - end end end |