diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-07-04 08:34:52 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-07-04 08:34:52 +0530 |
commit | 402b8ffdca81075fdee86f213c3a14bbb43dee13 (patch) | |
tree | 9c01685cc79cbf8cbf85a93e8cb314521c4c2ea4 /lib | |
parent | 5ab264dab845614410c52f0f8c06af00833d487b (diff) | |
download | rails-402b8ffdca81075fdee86f213c3a14bbb43dee13.tar.gz rails-402b8ffdca81075fdee86f213c3a14bbb43dee13.tar.bz2 rails-402b8ffdca81075fdee86f213c3a14bbb43dee13.zip |
Remove deprecated `Arel::Table.table_cache` with no replacement
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/table.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb index 5fb1254d17..aa61c36a31 100644 --- a/lib/arel/table.rb +++ b/lib/arel/table.rb @@ -146,15 +146,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 |