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
Kassio Borges c8bbe9aefa Improve support for non Active Record objects on validates_associated
Skipping `marked_for_destruction?` when the associated object does not responds
to it make easier to validate virtual associations built on top of Active Model
objects and/or serialized objects that implement a `valid?` instance method.
2015-11-08 10:58:39 -02:00
..
adapters No need MysqlDouble and MysqlDouble.reset_column_information 2015-11-05 18:19:44 +09:00
associations Merge pull request #22125 from k0kubun/left_joins 2015-10-30 14:05:11 -06:00
attribute_methods
coders
connection_adapters introduce conn.data_source_exists? and conn.data_sources. 2015-09-22 19:48:44 +02:00
connection_specification
fixture_set Merge pull request #20574 from repinel/fix-db-fixtures-load 2015-09-30 11:06:41 +02:00
migration :to_table when adding a fk through add_reference. 2015-10-13 11:05:19 +02:00
relation Define sanitize_sql_for_order for AR and use it inside preprocess_order_args 2015-11-02 21:18:18 +09:00
scoping Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
tasks Fix test_database_created_by_root of mysql 2015-11-02 23:30:16 +09:00
type skipped assertion on datetime seconds precision as it is only valid for newer mysql versions 2015-09-24 00:35:50 +05:30
validations Improve support for non Active Record objects on validates_associated 2015-11-08 10:58:39 -02:00
adapter_test.rb Deprecate exception#original_exception in favor of exception#cause 2015-11-03 06:54:34 -08:00
aggregations_test.rb
ar_schema_test.rb
associations_test.rb Remove unnecessary require in associations_test.rb 2015-09-03 04:27:07 +09:00
attribute_decorators_test.rb
attribute_methods_test.rb 💣 2015-10-02 08:21:36 -04:00
attribute_set_test.rb Implement equality comparison on AttributeSet and friends 2015-10-06 08:52:28 -06:00
attribute_test.rb Further encapsulate dirty checking on Attribute 2015-10-02 08:03:11 -04:00
attributes_test.rb Ensure #reset_column_information clears child classes as well 2015-11-07 08:20:34 -07:00
autosave_association_test.rb Merge pull request #19686 from tsun1215/index_errors 2015-10-26 16:05:16 -06:00
base_test.rb Require only necessary concurrent-ruby classes. 2015-11-04 21:12:28 -05:00
batches_test.rb Fix merge conflicts from #19501 2015-10-29 09:22:45 -06:00
binary_test.rb
bind_parameter_test.rb
cache_key_test.rb fixes #21815 2015-10-16 15:09:45 +02:00
calculations_test.rb Fix generated projection fields in group by query 2015-10-22 04:22:57 -03:00
callbacks_test.rb AR::RecordNotSaved & RecordNotDestroyed should include an error message 2015-05-01 19:01:41 -07:00
clone_test.rb
collection_cache_key_test.rb fixes #21815 2015-10-16 15:09:45 +02:00
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb Fix wrong assert_equal argument order. 2015-11-07 11:35:01 +01:00
connection_pool_test.rb Require only necessary concurrent-ruby classes. 2015-11-04 21:12:28 -05:00
core_test.rb
counter_cache_test.rb Fix counter_cache for polymorphic associations 2015-07-19 15:52:29 -06:00
custom_locking_test.rb
database_statements_test.rb
date_time_precision_test.rb
date_time_test.rb
defaults_test.rb
dirty_test.rb Don't assert fractional seconds can be applied on unsupported adapters 2015-09-24 15:27:59 -06:00
disconnected_test.rb Silence warning from MySQL::Error object in test 2015-04-23 17:05:03 -04:00
dup_test.rb
enum_test.rb use assert_not instead of refute as mentioned in our guides. 2015-08-13 09:20:39 +02:00
errors_test.rb Make ActiveRecordException descendants args optional 2015-09-07 00:04:31 -07:00
explain_subscriber_test.rb Let WITH (CTE) queries be explainable 2015-05-28 14:10:09 +03:00
explain_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
finder_respond_to_test.rb
finder_test.rb Don't cache arguments in #find_by if they are an ActiveRecord::Relation 2015-10-06 02:36:46 +09:00
fixtures_test.rb FixtureSet.fixture_class_names should have no default value 2015-10-29 11:23:58 -06:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Make AbstractMysqlAdapter#version public 2015-10-15 07:18:55 +09:00
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb Move some AR test cases to inheritance_test.rb 2015-10-31 08:30:18 +09:00
integration_test.rb fixes #21815 2015-10-16 15:09:45 +02:00
invalid_connection_test.rb
invalid_date_test.rb
invertible_migration_test.rb Make revert of disable_extension to work 2015-08-30 19:26:39 +09:00
json_serialization_test.rb
locking_test.rb Fix the test that was broken by #16445 rather than deleting it 2015-07-19 15:52:31 -06:00
log_subscriber_test.rb test_binary_data_is_not_logged is for prepared statements logging 2015-11-05 17:39:53 +09:00
migration_test.rb Require the count_down_latch 2015-11-05 02:32:57 -02:00
migrator_test.rb
mixin_test.rb
modules_test.rb
multiparameter_attributes_test.rb
multiple_db_test.rb
nested_attributes_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
nested_attributes_with_callbacks_test.rb
persistence_test.rb Fix test failures 2015-11-07 08:44:29 -07:00
pooled_connections_test.rb
primary_keys_test.rb Allow bigint with default nil for avoiding auto increment primary key 2015-11-02 12:12:20 +00:00
query_cache_test.rb Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
quoting_test.rb
readonly_test.rb Further fix failing tests caused by #21350 2015-08-24 08:10:48 -06:00
reaper_test.rb
reflection_test.rb Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
relation_test.rb Define sanitize_sql_for_order for AR and use it inside preprocess_order_args 2015-11-02 21:18:18 +09:00
relations_test.rb Merge pull request #13008 from ktheory/sanitize_order 2015-10-29 15:29:06 -06:00
reload_models_test.rb fix test not failing when executed isolated 2015-06-19 16:02:12 -03:00
result_test.rb
sanitize_test.rb Quote prepared statements of sanitize_sql_array 2015-09-25 08:49:57 +09:00
schema_dumper_test.rb Fix to correctly schema dump the tinyblob 2015-10-15 05:38:43 +09:00
secure_token_test.rb
serialization_test.rb Remove XML Serialization from core. 2015-08-07 11:01:48 -04:00
serialized_attribute_test.rb Add a test to ensure serialize persists nil as NULL 2015-06-12 13:50:51 -06:00
statement_cache_test.rb
store_test.rb
suppressor_test.rb Apply Active Record suppression to all saves 2015-06-04 00:11:38 -04:00
test_case.rb Remove #tables extra args again 2015-10-22 13:16:35 +09:00
test_fixtures_test.rb 🔪 Typos 2015-09-21 03:17:39 +09:00
time_precision_test.rb
timestamp_test.rb Further remove reliance on subsecond precision in tests 2015-09-23 09:43:19 -06:00
touch_later_test.rb Don't rely on subsecond precision being applied in tests 2015-09-23 09:33:43 -06:00
transaction_callbacks_test.rb
transaction_isolation_test.rb
transactions_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
type_test.rb
types_test.rb Move the appropriate type tests to the Active Model suite 2015-09-21 10:12:31 -06:00
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb validates_acceptance_of shouldn't require a database connection 2015-09-25 07:54:38 -06:00
view_test.rb introduce conn.data_source_exists? and conn.data_sources. 2015-09-22 19:48:44 +02:00
yaml_serialization_test.rb