diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-15 16:20:43 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-17 16:08:33 -0500 |
commit | 5f3ed8784383fb4eb0f9959f31a9c28a991b7553 (patch) | |
tree | bf7075a347154d581f7c10949aee099b18239fe4 /activerecord/lib/active_record | |
parent | 400ba786e1d154448235f5f90183e48a1043eece (diff) | |
download | rails-5f3ed8784383fb4eb0f9959f31a9c28a991b7553.tar.gz rails-5f3ed8784383fb4eb0f9959f31a9c28a991b7553.tar.bz2 rails-5f3ed8784383fb4eb0f9959f31a9c28a991b7553.zip |
Remove deprecated `#supports_statement_cache?` from the database adapters
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index fdf509187d..aa2ecee74a 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -173,13 +173,6 @@ module ActiveRecord exec_delete(sql, name, binds) end - # Returns +true+ when the connection adapter supports prepared statement - # caching, otherwise returns +false+ - def supports_statement_cache? # :nodoc: - true - end - deprecate :supports_statement_cache? - # Runs the given block in a database transaction, and returns the result # of the block. # |