Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

preloading of has_one :through is broken

#903

Preloading of has one through associations is currently broken. Specifying such an association to :include will cause the associations to all be loaded in one go but will also cause each associated record to be loaded individually. The attached patch addresses this

Reported by Frederick Cheung · August 25th, 2008 @ 10:45 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [fdeeeaea61bb34040f8da03afa9876171db4b17e]) Fix preloading of has_one through associations

    [#903 preloading of has_one :through is broken state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    August 26th, 2008 @ 05:23 AM

  2. Repository
    Repository

    (from [b7a37b742c0abd1df8ea48cc82f76385cc0c41ea]) Fix preloading of has_one through associations

    [#903 preloading of has_one :through is broken state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    August 26th, 2008 @ 05:23 AM