mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add accidentally removed #
[ci skip]
`#` was removed at f57092a
but this `#` is intentional.
e.g. https://github.com/rails/rails/blame/v5.0.0.beta2/activerecord/CHANGELOG.md#L1423-L1426
This commit is contained in:
parent
04b410f833
commit
af6a6e2e7b
1 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
PriceEstimate.where(estimate_of: [Treasure.find(1), Car.find(2)])
|
PriceEstimate.where(estimate_of: [Treasure.find(1), Car.find(2)])
|
||||||
=> SELECT "price_estimates".* FROM "price_estimates"
|
# => SELECT "price_estimates".* FROM "price_estimates"
|
||||||
WHERE (("price_estimates"."estimate_of_type" = 'Treasure' AND "price_estimates"."estimate_of_id" = 1)
|
WHERE (("price_estimates"."estimate_of_type" = 'Treasure' AND "price_estimates"."estimate_of_id" = 1)
|
||||||
OR ("price_estimates"."estimate_of_type" = 'Car' AND "price_estimates"."estimate_of_id" = 2))
|
OR ("price_estimates"."estimate_of_type" = 'Car' AND "price_estimates"."estimate_of_id" = 2))
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
*Bogdan Gusiev*, *Jon Hinson*
|
*Bogdan Gusiev*, *Jon Hinson*
|
||||||
|
|
||||||
* Rework `ActiveRecord::Relation#last`
|
* Rework `ActiveRecord::Relation#last`.
|
||||||
|
|
||||||
1. Never perform additional SQL on loaded relation
|
1. Never perform additional SQL on loaded relation
|
||||||
2. Use SQL reverse order instead of loading relation if relation doesn't have limit
|
2. Use SQL reverse order instead of loading relation if relation doesn't have limit
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
* Allow `joins` to be unscoped.
|
* Allow `joins` to be unscoped.
|
||||||
|
|
||||||
Closes #13775.
|
Fixes #13775.
|
||||||
|
|
||||||
*Takashi Kokubun*
|
*Takashi Kokubun*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue