mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8ab892e7b1
`eager_loading?` is triggered correctly when using `order` with hash syntax on an outer table. before: ```ruby Post.includes(:comments).order({ "comments.label": :ASC }).eager_loading? => raises ActiveRecord::StatementInvalid ``` after: ```ruby Post.includes(:comments).order({ "comments.label": :ASC }).eager_loading? => true ``` Co-authored-by: Eugene Kenny <elkenny@gmail.com> |
||
---|---|---|
.. | ||
active_record/connection_adapters | ||
activejob | ||
assets | ||
cases | ||
fixtures | ||
migrations | ||
models | ||
schema | ||
support | ||
config.example.yml | ||
config.rb |