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
Arthur Neves 8971389783
Batch touch parent records
[fixes #18606]

Make belongs_to use touch over touch_later when running the callbacks.

Add more tests and small method rename

Thanks Jeremy for the feedback.
2015-04-08 13:31:28 -04:00
..
adapters Merge pull request #17574 from kamipo/charset_collation_options 2015-04-07 09:40:16 -07:00
associations Batch touch parent records 2015-04-08 13:31:28 -04:00
attribute_methods Attribute assignment and type casting has nothing to do with columns 2015-01-31 19:42:38 -07:00
coders
connection_adapters Revert "Merge pull request #19404 from dmathieu/remove_rack_env" 2015-03-20 08:14:11 -07:00
connection_specification
fixture_set
migration use singular table name if pluralize_table_names is setted as false while creating foreign key 2015-04-06 11:10:24 +03:00
relation Add config.active_record.warn_on_records_fetched_greater_than option 2015-03-25 16:50:11 -04:00
scoping Error message testing fix 2015-02-20 21:23:36 -02:00
tasks Merge pull request #19503 from jasoncodes/no-psqlrc 2015-03-25 09:42:45 +01:00
type type_cast_from_user -> cast 2015-02-17 13:39:42 -07:00
validations Merge branch 'fix_uniqueness_validation_when_value_is_out_of_range' 2015-04-08 11:07:39 -06:00
adapter_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
aggregations_test.rb
ar_schema_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
associations_test.rb Do not test, document or use a private API method 2015-02-20 17:50:20 -02:00
attribute_decorators_test.rb type_cast_from_user -> cast 2015-02-17 13:39:42 -07:00
attribute_methods_test.rb Follow-up to #10776 2015-02-26 15:40:03 +01:00
attribute_set_test.rb type_cast_from_user -> cast 2015-02-17 13:39:42 -07:00
attribute_test.rb type_cast_from_user -> cast 2015-02-17 13:39:42 -07:00
attributes_test.rb Follow-up to #10776 2015-02-26 15:40:03 +01:00
autosave_association_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
base_test.rb tests, sequences are derived from the base class. 2015-03-06 13:25:07 +01:00
batches_test.rb use correct method in batches test 2015-03-29 21:19:46 +09:00
binary_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
bind_parameter_test.rb rm Column#cast_type 2015-02-03 15:02:18 -07:00
calculations_test.rb Fix referencing wrong aliases while joining tables of has many through 2015-03-22 16:25:23 +08:00
callbacks_test.rb
clone_test.rb
column_alias_test.rb
column_definition_test.rb rm Column#cast_type 2015-02-03 15:02:18 -07:00
connection_management_test.rb
connection_pool_test.rb
core_test.rb
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_precision_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
date_time_test.rb
defaults_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
dirty_test.rb Rm Type#type_cast 2015-02-17 14:07:45 -07:00
disconnected_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
dup_test.rb
enum_test.rb add ActiveRecord::Enum testcase about multiple enums declaring at a time 2015-03-05 21:39:03 +09:00
explain_subscriber_test.rb
explain_test.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
finder_respond_to_test.rb
finder_test.rb remove old unavailable link with relevant fix 2015-03-23 11:18:14 +05:30
fixtures_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
hot_compatibility_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
i18n_test.rb
inheritance_test.rb Always reset changed attributes in becomes 2015-02-04 15:42:14 +01:00
integration_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
invalid_connection_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
locking_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
log_subscriber_test.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
migration_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
migrator_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
mixin_test.rb remove unnecessary rescue 2015-03-05 15:05:47 -08:00
modules_test.rb remove old unavailable link with relevant fix 2015-03-23 11:18:14 +05:30
multiparameter_attributes_test.rb Push multi-parameter assignement into the types 2015-02-07 13:52:23 -07:00
multiple_db_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
nested_attributes_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
nested_attributes_with_callbacks_test.rb
persistence_test.rb use Model.reset_column_information to clear table cache connection wide. 2015-03-31 12:14:03 +05:30
pooled_connections_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
primary_keys_test.rb use Model.reset_column_information to clear table cache connection wide. 2015-03-31 12:14:03 +05:30
query_cache_test.rb PostgreSQL, Fix OID based type casts in C for primitive types. 2015-03-25 15:05:23 +01:00
quoting_test.rb Refactor microsecond precision to be database agnostic 2015-02-10 11:55:59 -07:00
readonly_test.rb
reaper_test.rb
reflection_test.rb Improve test for leaky scope chain 2015-03-18 08:13:54 -04:00
relation_test.rb type_cast_for_database -> serialize 2015-02-17 13:35:23 -07:00
relations_test.rb Merge pull request #18744 from mfazekas/no-table-name-with-from 2015-02-24 16:56:01 -03:00
reload_models_test.rb
result_test.rb
sanitize_test.rb
schema_dumper_test.rb Delegate limit to subtype 2015-03-21 19:32:41 -05:00
secure_token_test.rb Do not overwrite secret token value when already present. 2015-02-12 22:05:45 +01:00
serialization_test.rb
serialized_attribute_test.rb Make sure to persist a newly-nil serialized value 2015-03-23 15:27:03 +10:30
statement_cache_test.rb
store_test.rb
suppressor_test.rb Copy edit the suppressor documentation 2015-02-19 09:08:51 -02:00
test_case.rb - Extracted silence_stream method to new module in activesupport/testing. 2015-01-20 22:28:48 +05:30
test_fixtures_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
time_precision_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
timestamp_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
touch_later_test.rb Batch touch parent records 2015-04-08 13:31:28 -04:00
transaction_callbacks_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
transaction_isolation_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
transactions_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
type_test.rb Add a global type registry, used to lookup and register types 2015-02-15 14:22:08 -07:00
types_test.rb type_cast_from_user -> cast 2015-02-17 13:39:42 -07:00
unconnected_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
validations_repair_helper.rb
validations_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
view_test.rb
xml_serialization_test.rb
yaml_serialization_test.rb Add YAML compatibility for objects from Rails 4.2 2015-03-10 11:56:45 -06:00