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.

Giorgio Gonnella's latest activity

Monday, March 02 2009
1533 Preloading more than 1000 associated records causes ActiveRecord::StatementIn... was updated in Ruby on Rails
  • Giorgio Gonnella
    Giorgio Gonnella commented at 8:56 PM

    Hi Frederick, thank you for reviewing it.

    Reply to your objections:

    • missing parenthesis: of course a couple of parenthesis more around it can only be good, yo...

  • Giorgio Gonnella
    • Assigned user set to Frederick Cheung
    by Giorgio Gonnella at 5:10 PM
  • Giorgio Gonnella
    Giorgio Gonnella commented at 5:08 PM

    Here is a patch (based on the rails-2.2 branch, can be easily adapted for the master branch)

Wednesday, December 17 2008
1533 Preloading more than 1000 associated records causes ActiveRecord::StatementIn... was updated in Ruby on Rails
  • Giorgio Gonnella
    Giorgio Gonnella commented at 2:48 PM

    I "quick"-fixed it as in the following diff:

  • Giorgio Gonnella
    Giorgio Gonnella commented at 1:11 PM

    OK. The solution in the ruby-forum is of course incomplete, as patches only find_associated_records and not e.g. preload_belongs_to_association. (which is why i...

  • Giorgio Gonnella
    Giorgio Gonnella commented at 11:57 AM

    I have this problem with Oracle too.

    Here I found a discussion about it: http://www.ruby-forum.com/topic/...

    The solution proposed there seems not to work in my...