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.

hiroshi's latest activity

Sunday, August 17 2008
576 allow explicit association preloading (:load vs :include) was updated in Ruby on Rails
  • hiroshi
    hiroshi commented at 1:49 PM

    I also found a quick option (a hack?) for explicit association preloading.

    
    tickets = Ticket.find(:all,
    # :include => :tags,
      :joins => "INNER JOIN tags AS t ...
  • hiroshi
    hiroshi commented at 1:36 PM

    I express approval about the :load option.

    cainlevy suggested capabilities against optimization, moreover, I point out that a problem of 'join' eager loading h...