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
Simon Eskildsen cb598c2115 ar/connection_pool: honor overriden rack.test in middleware
Honoring an overidden `rack.test` allows testing closed connection between
multiple requests. This is useful if you're working on database resiliency, to
ensure the connection is in the expected state from one request to another on
the same worker.
2014-09-23 02:33:18 +00:00
..
adapters add a truncate method to the connection 2014-09-22 14:57:19 -07:00
associations Replace drop sql statement to drop_table method 2014-09-11 03:47:44 +09:00
attribute_methods Allow included modules to override association methods. 2014-09-09 10:00:30 +02:00
coders
connection_adapters Deprecate automatic counter caches on has_many :through 2014-06-26 07:24:34 -06:00
connection_specification
fixture_set
migration Replace drop sql statement to drop_table method 2014-09-11 03:47:44 +09:00
relation A NullRelation should represent nothing. Closes #15176. 2014-09-11 08:04:48 +02:00
scoping Skip StatementCache for eager loaded associations (Fixes #16761) 2014-09-04 10:05:01 -05:00
tasks schema loading rake tasks maintain database connection for current env. 2014-09-03 18:02:44 +02:00
type Fix type casting to Decimal from Float with ... 2014-08-01 00:29:20 +09:00
validations Clear validators before and after each test 2014-08-14 16:14:02 +09:00
adapter_test.rb Add where condition so select_one returns the correct record. 2014-07-28 20:05:32 +08:00
aggregations_test.rb
ar_schema_test.rb Merge pull request #16827 from kuldeepaggarwal/f-disable-migration-logging 2014-09-08 11:50:15 +02:00
associations_test.rb Allow included modules to override association methods. 2014-09-09 10:00:30 +02:00
attribute_decorators_test.rb Replace drop sql statement to drop_table method 2014-09-11 03:47:44 +09:00
attribute_methods_test.rb Fix assertions in AR::TestCase::AttributeMethodsTest 2014-09-21 11:34:37 -07:00
attribute_set_test.rb AttributeSet#include? -> AttributeSet#key? 2014-07-11 07:50:16 -06:00
attribute_test.rb Implement == on Type::Value and Attribute 2014-08-15 13:37:53 -06:00
attributes_test.rb
autosave_association_test.rb Don't autosave unchanged has_one through records 2014-09-15 15:34:39 +01:00
base_test.rb Fixed find_by("sql fragment without bindings") on master 2014-08-25 17:48:13 -07:00
batches_test.rb
binary_test.rb
bind_parameter_test.rb
calculations_test.rb Move association definition to the model file 2014-08-28 15:50:14 +09:00
callbacks_test.rb
clone_test.rb
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb ar/connection_pool: honor overriden rack.test in middleware 2014-09-23 02:33:18 +00:00
connection_pool_test.rb
core_test.rb
counter_cache_test.rb Add :all argument to count in reset_counters 2014-07-02 20:21:36 -05:00
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb
defaults_test.rb Don't type cast the default on the column 2014-06-17 16:02:53 -06:00
dirty_test.rb User Model#last to certainly get lastly created data 2014-08-28 19:27:22 +09:00
disconnected_test.rb
dup_test.rb Don't error when duping a record with no PK 2014-07-02 07:00:26 -06:00
enum_test.rb Enums shouldn't ruin people's anniversaries 2014-09-04 00:34:21 -07:00
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb
finder_test.rb Fix find_by with associations not working with adequate record 2014-09-20 17:53:49 +09:00
fixtures_test.rb Better regression test for Fixtures with fk as a symbol 2014-09-22 13:12:19 -04:00
forbidden_attributes_protection_test.rb Check attributes passed to create_with and where 2014-08-18 14:07:37 -03:00
habtm_destroy_order_test.rb
helper.rb Default to sorting user's test cases for now 2014-09-08 05:32:16 -07:00
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb
integration_test.rb
invalid_connection_test.rb
invalid_date_test.rb
invertible_migration_test.rb Silence another test that runs migrations 2014-08-29 10:34:26 +09:00
json_serialization_test.rb
locking_test.rb Dynamically modified schema and association would not be correctly reset 2014-09-06 23:28:18 +09:00
log_subscriber_test.rb
migration_test.rb MySQL: skip GTID-unsafe statement tests when enforce_gtid_consistency is enabled 2014-09-01 22:36:05 -07:00
migrator_test.rb Reset ActiveRecord::Migration.message_count counter before start testing 2014-08-29 10:58:55 +09: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
persistence_test.rb Fix mysql/mysql2 failing with FK constraint errors 2014-07-05 13:57:16 -07:00
pooled_connections_test.rb
primary_keys_test.rb Define id_was to get the previous value of the primary key 2014-08-06 23:46:31 -03:00
query_cache_test.rb
quoting_test.rb Always pass a column with a type object to quote 2014-06-28 14:50:30 -06:00
readonly_test.rb
reaper_test.rb
reflection_test.rb Begin refactoring ThroughReflection 2014-07-08 08:49:19 -04:00
relation_test.rb Consolidate testing of update_all type casting 2014-06-26 07:57:03 -06:00
relations_test.rb switch assert_operator arguments as discussed in #16860. 2014-09-11 08:07:35 +02:00
reload_models_test.rb
result_test.rb Encapsulate knowledge of type objects on ActiveRecord::Result 2014-06-22 09:00:15 -06:00
sanitize_test.rb
schema_dumper_test.rb do not dump foreign keys for ignored tables. 2014-09-17 11:43:42 +02:00
serialization_test.rb
serialized_attribute_test.rb AR#reset_column_information sometimes queries via table_exists? 2014-08-31 00:05:59 +09:00
statement_cache_test.rb
store_test.rb
test_case.rb Ignore Postgresql "SELECT tablename FROM pg_tables" when counting queries 2014-08-20 17:50:11 +09:00
timestamp_test.rb Merge pull request #8813 from greyblake/dont_write_timestamps_if_they_are_not_attributes 2014-08-14 12:11:44 +02:00
transaction_callbacks_test.rb Add option to stop swallowing errors on callbacks. 2014-08-18 14:47:48 -04:00
transaction_isolation_test.rb
transactions_test.rb Roll back open transactions when the running thread is killed. 2014-08-22 10:58:04 -04:00
types_test.rb Implement == on Type::Value and Attribute 2014-08-15 13:37:53 -06:00
unconnected_test.rb
validations_repair_helper.rb Clear validators before and after each test 2014-08-14 16:14:02 +09:00
validations_test.rb Add AR::Base#validate! method 2014-06-23 16:11:06 +03:00
view_test.rb reuse view test-cases for pg materialized view tests. 2014-09-11 16:47:52 +02:00
xml_serialization_test.rb
yaml_serialization_test.rb Implement required #encode_with 2014-07-15 15:50:29 -05:00