1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
Ryuta Kamizono b4478ae8bc Preserve user supplied joins order as much as possible
Currently, string joins are always applied as last joins part, and Arel
join nodes are always applied as leading joins part (since #36304), it
makes people struggled to preserve user supplied joins order.

To mitigate this problem, preserve the order of string joins and Arel
join nodes either before or after of association joins.

Fixes #36761.
Fixes #34328.
Fixes #24281.
Fixes #12953.
2019-07-30 04:02:58 +09:00
..
associations
attribute_methods
coders
connection_adapters
database_configurations
fixture_set
locale
locking
middleware
migration
railties
relation
scoping
tasks
type
type_caster
validations
aggregations.rb
association_relation.rb
associations.rb
attribute_assignment.rb
attribute_decorators.rb
attribute_methods.rb
attributes.rb
autosave_association.rb
base.rb
callbacks.rb
connection_handling.rb
core.rb
counter_cache.rb
database_configurations.rb
define_callbacks.rb
dynamic_matchers.rb
enum.rb
errors.rb
explain.rb
explain_registry.rb
explain_subscriber.rb
fixtures.rb
gem_version.rb
inheritance.rb
insert_all.rb
integration.rb
internal_metadata.rb
legacy_yaml_adapter.rb
log_subscriber.rb
migration.rb
model_schema.rb
nested_attributes.rb
no_touching.rb
null_relation.rb
persistence.rb
query_cache.rb
querying.rb
railtie.rb
readonly_attributes.rb
reflection.rb
relation.rb
result.rb
runtime_registry.rb
sanitization.rb
schema.rb
schema_dumper.rb
schema_migration.rb
scoping.rb
secure_token.rb
serialization.rb
statement_cache.rb
store.rb
suppressor.rb
table_metadata.rb
test_databases.rb
test_fixtures.rb
timestamp.rb
touch_later.rb
transactions.rb
translation.rb
type.rb
type_caster.rb
validations.rb
version.rb