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/associations
Ryuta Kamizono 0ec967aa66 Respect new records for CollectionProxy#uniq
Currently if `CollectionProxy` has more than one new record,
`CollectionProxy#uniq` result is incorrect.

And `CollectionProxy#uniq` was aliased to `distinct` in a1bb6c8b06.
But the `uniq` method and the `SELECT DISTINCT` method are different
methods. The doc in `CollectionProxy` is for the `SELECT DISTINCT`
method, not for the `uniq` method.

Therefore, reverting the alias in `CollectionProxy` to fix the
inconsistency and to have the both methods.
2016-11-13 06:19:28 +09:00
..
association_scope_test.rb
belongs_to_associations_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
bidirectional_destroy_dependencies_test.rb
callbacks_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
cascaded_eager_loading_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
eager_load_includes_full_sti_class_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
eager_load_nested_include_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
eager_singularization_test.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
eager_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
extension_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
has_and_belongs_to_many_associations_test.rb Respect new records for CollectionProxy#uniq 2016-11-13 06:19:28 +09:00
has_many_associations_test.rb Respect new records for CollectionProxy#uniq 2016-11-13 06:19:28 +09:00
has_many_through_associations_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
has_one_associations_test.rb Allow autosave: true to be used with inverse of 2016-11-01 13:28:56 -04:00
has_one_through_associations_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
inner_join_association_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
inverse_associations_test.rb Ensure that inverse associations are set before running callbacks 2016-08-31 09:26:25 -04:00
join_model_test.rb Respect new records for CollectionProxy#uniq 2016-11-13 06:19:28 +09:00
left_outer_join_association_test.rb let Regexp#match? be globally available 2016-10-27 09:13:55 +02:00
nested_through_associations_test.rb
required_test.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00