1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases
Ryuta Kamizono 9caa0cf57d Deprecate supports_statement_cache?
`supports_statement_cache?` was introduced in 3.1.0.beta1 (104d0b2) for
bind parameter substitution, but it is no longer used in 3.1.0.rc1
(73ff679). Originally it should respect `prepared_statements` rather
than `supports_statement_cache?` (fd39847).
One more thing, named `supports_statement_cache?` is pretty misreading.
We have `StatementCache` and `StatementPool`. However,
`supports_statement_cache?` doesn't mean `StatementCache`, but
`StatementPool` unlike its name.

https://github.com/rails/rails/blob/v5.1.0/activerecord/lib/active_record/statement_cache.rb
https://github.com/rails/rails/blob/v5.1.0/activerecord/lib/active_record/connection_adapters/statement_pool.rb
2017-05-01 01:32:36 +09:00
..
adapters Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-without-superuser-privilege-take-2" 2017-04-26 13:39:05 -07:00
associations Evaluate belongs_to :default option against the owner, not the association 2017-04-27 12:36:50 -04:00
attribute_methods class Foo < Struct.new(:x) creates an extra unneeded anonymous class 2017-01-13 15:13:47 +09:00
coders ✂️ 2017-04-13 07:15:04 +09:00
connection_adapters Allow 3-level DB configs to group connections by environment 2017-02-22 05:11:45 +10:30
connection_specification
fixture_set
migration Use a query that's compatible with PostgreSQL 9.2 2017-04-12 23:38:57 +09:30
relation Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
scoping Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
tasks Also raise error when VERSION is nil 2017-04-27 10:21:28 -07:00
type
validations Merge branch 'master' of github.com:rails/docrails 2017-03-04 19:35:25 +00:00
adapter_test.rb Merge pull request #27939 from kamipo/fix_select_all_with_legacy_binds 2017-03-20 11:47:24 -04:00
aggregations_test.rb
ar_schema_test.rb Deprecate supports_migrations? on connection adapters 2017-02-27 03:14:33 +09:00
associations_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
attribute_decorators_test.rb
attribute_methods_test.rb Fix define_attribute_method with Symbol in AR 2017-02-21 20:33:32 +09:00
attribute_set_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
attribute_test.rb
attributes_test.rb Make the second argument to attribute optional 2016-11-30 12:47:31 -05:00
autosave_association_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
base_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
batches_test.rb Remove checks for Enumerator#size method 2017-04-25 07:40:51 -07:00
binary_test.rb
bind_parameter_test.rb Deprecate supports_statement_cache? 2017-05-01 01:32:36 +09:00
cache_key_test.rb Remove duplicated "test" prefix 2017-04-07 08:40:52 +09:00
calculations_test.rb Whitelist adapters that support aliases in HAVING clause 2017-03-01 11:36:54 +00:00
callbacks_test.rb Remove deprecated behavior that halts callbacks when the return is false 2017-02-07 12:19:37 -03:00
clone_test.rb
collection_cache_key_test.rb Replace \Z to \z 2017-04-24 21:22:12 +09:00
column_alias_test.rb
column_definition_test.rb Make internal methods to private 2017-03-27 00:59:06 +09:00
comment_test.rb Ignore AR tests of index comment when using Oracle 2017-04-05 19:20:48 +09:00
connection_management_test.rb
connection_pool_test.rb Refactor connection_pool_test 2017-02-26 10:36:30 -06:00
core_test.rb
counter_cache_test.rb Add test for update_counters with empty touch 2017-01-15 01:06:46 +00:00
custom_locking_test.rb
database_statements_test.rb Remove deprecated #insert_sql, #update_sql, and #delete_sql 2016-12-30 21:14:59 +09:00
date_test.rb
date_time_precision_test.rb Allow SQLServerAdapter to opt into a few tests. 2017-01-16 08:58:04 -05:00
date_time_test.rb Update DateTime#change to support usec and nsec 2017-03-02 06:02:41 +00:00
defaults_test.rb PostgreSQL 10 allows CURRENT_DATE and CURRENT_TIMESTAMP as default functions 2017-04-26 14:29:22 +00:00
dirty_test.rb Move around AR::Dirty and fix _attribute method 2017-04-14 10:53:47 -07:00
disconnected_test.rb
dup_test.rb Raise NotImplementedError when using empty_insert_statement_value with Oracle 2017-02-17 19:43:48 +09:00
enum_test.rb Add tests for ActiveRecord::Enum#enum when suffix specified 2016-09-12 08:52:02 +09:00
errors_test.rb Raise when a through association has an ambiguous reflection name 2016-12-29 17:53:04 -05:00
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb
finder_test.rb exclude ORDER BY clause for exists? (#28699) 2017-04-10 08:35:13 +09:30
fixtures_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Remove unused require 2017-02-12 19:38:49 -07:00
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb Cache results of computing model type 2017-01-03 19:02:38 +05:00
integration_test.rb ✂️ 2017-04-13 07:15:04 +09:00
invalid_connection_test.rb
invertible_migration_test.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
json_serialization_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
locking_test.rb Remove ability update locking_column value 2017-03-16 10:42:33 +02:00
log_subscriber_test.rb Stop creating duplicate Struct instances 2017-04-28 21:31:36 -04:00
migration_test.rb Deprecate Migrator.schema_migrations_table_name 2017-03-09 08:46:12 +09:00
migrator_test.rb Fix MigratorTest#test_migrator_verbosity 2017-04-26 01:04:52 +03:00
mixin_test.rb
modules_test.rb
multiparameter_attributes_test.rb
multiple_db_test.rb
nested_attributes_test.rb
nested_attributes_with_callbacks_test.rb Reduce string objects by using \ instead of + or << for concatenating strings 2017-01-12 17:45:37 +09:00
persistence_test.rb Replace \Z to \z 2017-04-24 21:22:12 +09:00
pooled_connections_test.rb
primary_keys_test.rb Merge pull request #28029 from koic/empty_insert_statement_value_not_supported 2017-04-04 03:00:58 +09:30
query_cache_test.rb Ensure test threads share a DB connection 2017-02-20 16:31:24 -05:00
quoting_test.rb Deprecate using #quoted_id in quoting 2017-02-24 06:56:06 +09:00
readonly_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
reaper_test.rb
reflection_test.rb Fix collection_singular_ids= bug 2017-02-02 22:26:49 -05:00
relation_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
relations_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
reload_models_test.rb
result_test.rb Remove checks for Enumerator#size method 2017-04-25 07:40:51 -07:00
sanitize_test.rb Deprecate using #quoted_id in quoting 2017-02-24 06:56:06 +09:00
schema_dumper_test.rb Support Descending Indexes for MySQL 2017-04-16 07:58:10 +09:00
schema_loading_test.rb
secure_token_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
serialization_test.rb
serialized_attribute_test.rb Indicate action that failed in YamlColumn 2017-02-05 11:54:40 -05:00
statement_cache_test.rb Refactor test_find_by_does_not_use_statement_cache_if_table_name_is_changed 2017-02-13 19:28:37 +09:00
store_test.rb
suppressor_test.rb
test_case.rb
test_fixtures_test.rb Remove deprecated #use_transactional_fixtures configuration 2016-12-29 17:53:04 -05:00
time_precision_test.rb Allow SQLServerAdapter to opt into a few tests. 2017-01-16 08:58:04 -05:00
timestamp_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
touch_later_test.rb
transaction_callbacks_test.rb Prioritize checking :on actions before :if for transaction callbacks 2017-02-21 14:03:55 +08:00
transaction_isolation_test.rb
transactions_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00
type_test.rb
types_test.rb
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb
view_test.rb Use a query that's compatible with PostgreSQL 9.2 2017-04-12 23:38:57 +09:30
yaml_serialization_test.rb Restore fixtures :author_addresses 2017-04-27 15:44:25 +09:00