Skip to content
  • Yasyf Mohamedali's avatar
    52423813
    Honour the order of the joining model in a `has_many :through` · 52423813
    Yasyf Mohamedali authored
    association when eager loading.
    
    Previously, eager loading a `has_many :through` association with no
    defined order would return the records in the natural order of the
    database. Now, these records will be returned in the order that the
    joining record is returned, in case there is a defined order there.
    52423813
    Honour the order of the joining model in a `has_many :through`
    Yasyf Mohamedali authored
    association when eager loading.
    
    Previously, eager loading a `has_many :through` association with no
    defined order would return the records in the natural order of the
    database. Now, these records will be returned in the order that the
    joining record is returned, in case there is a defined order there.
Loading