diff options
author | Tarmo Tänav <tarmo@itech.ee> | 2008-08-26 03:01:24 +0300 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-25 21:23:35 -0700 |
commit | a445cdd8840c4e99c40c6d5b15ab380d39a56be3 (patch) | |
tree | 1d9e7ee98e9607fd635f1743fa6c6bf507ba297e /activesupport/lib/active_support/json.rb | |
parent | 2dbda11945507a0541d61d13b8c564121c1cd362 (diff) | |
download | rails-a445cdd8840c4e99c40c6d5b15ab380d39a56be3.tar.gz rails-a445cdd8840c4e99c40c6d5b15ab380d39a56be3.tar.bz2 rails-a445cdd8840c4e99c40c6d5b15ab380d39a56be3.zip |
Load the first and not the last has_one result when doing join-based eager loading
This matters when the has_one is defined with an order in which case
there is an expectation that the first one will be loaded.
[#904 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport/lib/active_support/json.rb')
0 files changed, 0 insertions, 0 deletions