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
Sean Griffin d26dd00854 WhereClause#predicates does not need to be public
The only place it was accessed was in tests. Many of them have another
way that they can test their behavior, that doesn't involve reaching
into internals as far as they did. `AssociationScopeTest` is testing a
situation where the where clause would have one bind param per
predicate, so it can just ignore the predicates entirely. The where
chain test was primarly duplicating the logic tested on `WhereClause`
directly, so I instead just make sure it calls the appropriate method
which is fully tested in isolation.
2015-01-27 10:30:38 -07:00
..
adapters Fix test failure on PG caused by 7c6f3938de 2015-01-23 16:16:16 -07:00
associations WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
attribute_methods
coders
connection_adapters Remove deprecated access to connection specification using a string acessor. 2015-01-04 11:58:43 -03:00
connection_specification
fixture_set
migration Replace if exists with table_exists? and drop table statement with drop_table 2015-01-21 16:17:34 +00:00
relation WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
scoping WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
tasks
type Move integer range validation to never raise on assignment 2015-01-23 14:30:23 -07:00
validations AR specific length validator to respect marked_for_destruction. 2014-12-30 10:25:58 +01:00
adapter_test.rb Don't test invalid log encoding against PostgreSQL adapter 2015-01-02 19:00:33 -03:00
aggregations_test.rb
ar_schema_test.rb Change the default null value for timestamps to false 2015-01-04 11:58:43 -03:00
associations_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
attribute_decorators_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00
attribute_methods_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
attribute_set_test.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attribute_test.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attributes_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
autosave_association_test.rb Fix potenital stack level too deep with autosave or validation 2015-01-04 23:44:51 +01:00
base_test.rb Add firebird support to test suite 2015-01-05 13:34:59 -03:00
batches_test.rb
binary_test.rb
bind_parameter_test.rb Correctly fetch bind_values from join in subquery 2015-01-06 02:29:03 +03:00
calculations_test.rb Add test case for joined pluck 2014-12-11 14:54:03 -07:00
callbacks_test.rb after_commit runs after transactions with non-joinable parents 2015-01-16 03:50:29 +03:00
clone_test.rb
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb
connection_pool_test.rb
core_test.rb pretty_print will use #inspect if a subclass redefines it 2015-01-12 15:17:32 -08:00
counter_cache_test.rb Improve consistency of counter caches updating in memory 2015-01-26 12:37:29 -07:00
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb Fix a false assertion 2015-01-17 08:09:41 -08:00
defaults_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00
dirty_test.rb Don't calculate in-place changes on attribute assignment 2015-01-18 13:43:31 -07:00
disconnected_test.rb
dup_test.rb
enum_test.rb
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb
finder_test.rb Remove version conditional for calling GC.disable 2015-01-04 15:54:21 -03:00
fixtures_test.rb Fix lookup of fixtures with non-string label 2015-01-06 17:15:39 +05:30
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Time columns should support time zone aware attributes 2015-01-15 08:04:43 -07:00
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb Test association was eager loaded, rather than reaching into internals 2015-01-26 11:36:13 -07:00
integration_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
invalid_connection_test.rb
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
locking_test.rb Properly persist lock_version as 0 if the DB has no default 2015-01-09 09:56:15 -07:00
log_subscriber_test.rb Stop special casing null binary data in logging 2015-01-10 12:26:51 -07:00
migration_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00
migrator_test.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
mixin_test.rb
modules_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
multiparameter_attributes_test.rb Time columns should support time zone aware attributes 2015-01-15 08:04:43 -07:00
multiple_db_test.rb Fix count on a separate connection (fixes #18359) 2015-01-08 01:42:33 +03:00
nested_attributes_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
nested_attributes_with_callbacks_test.rb
persistence_test.rb Run SQL only if attribute changed for update_attribute method 2015-01-18 20:00:57 +05:30
pooled_connections_test.rb Fix connection leak when a thread checks in additional connections. 2014-12-23 09:54:52 -05:00
primary_keys_test.rb Replace if exists with table_exists? and drop table statement with drop_table 2015-01-21 16:17:34 +00:00
query_cache_test.rb Restore query cache on rollback 2014-12-01 15:45:50 +00:00
quoting_test.rb Don't default to YAML dumping when quoting values 2015-01-14 13:58:09 -07:00
readonly_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
reaper_test.rb fix issue with reaping_frequency type 2014-12-17 19:45:31 -07:00
reflection_test.rb Return a null column from column_for_attribute when no column exists. 2015-01-04 11:58:43 -03:00
relation_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
relations_test.rb Remove unused bind and bind! methods from Relation 2015-01-26 16:12:59 -07:00
reload_models_test.rb
result_test.rb
sanitize_test.rb Remove deprecated sanitize_sql_hash_for_conditions 2015-01-04 11:58:44 -03:00
schema_dumper_test.rb Should escape regexp wildcard character . 2015-01-19 06:11:29 +09:00
secure_token_test.rb Switch Secure Token generation to Base58 2015-01-09 18:47:44 -05:00
serialization_test.rb Use bind values for joined tables in where statements 2014-11-01 15:39:51 -06:00
serialized_attribute_test.rb Remove deprecated serialized_attributes 2015-01-04 11:58:43 -03:00
statement_cache_test.rb
store_test.rb
test_case.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
timestamp_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
transaction_callbacks_test.rb TransactionManager should call rollback records 2015-01-20 12:37:57 -05:00
transaction_isolation_test.rb
transactions_test.rb Whitespace fixes from #18349 2015-01-05 14:20:23 -07:00
types_test.rb Errors raised in type_cast_for_database no longer raise on assignment 2015-01-23 12:50:01 -07:00
unconnected_test.rb
validations_repair_helper.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
validations_test.rb Ensure numericality validations work with mutation 2014-12-01 05:31:44 -07:00
view_test.rb
xml_serialization_test.rb Should escape regexp wildcard character . 2015-01-19 06:11:29 +09:00
yaml_serialization_test.rb