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.

Rolf Timmermans's latest activity

Wednesday, November 17 2010
5992 Extreme performance problem with ActiveRecord queries with date ranges in Rub... was updated in Ruby on Rails
  • Rolf Timmermans
    • Tag changed from arel rails3 performance regression to arel, performance, rails3, regression
    by Rolf Timmermans at 3:25 PM
  • Rolf Timmermans
    Rolf Timmermans commented at 3:00 PM

    And just to illustrate how extreme "extreme" is, I have conducted the following benchmark with a simple model named Account with a default created_at column:

    r...
  • Rolf Timmermans
    Rolf Timmermans created the ticket at 2:36 PM

    As also reported by some people in the announcement blog post of Rails 3.0.3, there is a severe performance problem when using ActiveRecord queries with Ruby 1...

Saturday, October 16 2010
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Rolf Timmermans
    Rolf Timmermans commented at 3:19 PM

    I tested for this behaviour recently with Rails edge. It seems to be solved by the fix to #5392.

Friday, July 02 2010
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Rolf Timmermans
    Rolf Timmermans commented at 2:26 PM

    Hi Emilio,

    Your results seem consistent with mine insofar I've tried them (will do more tests later). What struck me the first time as well, is that in all case...

Tuesday, June 29 2010
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Rolf Timmermans
    Rolf Timmermans commented at 9:18 PM

    Also, note that calling .count on an association without :include does properly use cached column definitions. The first of the tests below succeeds, the second...

  • Rolf Timmermans
    Rolf Timmermans commented at 3:26 PM

    Hi Emilio,

    Thank you for your answer. I was using the PostgreSQL adapter in my original application. If you try it in a real application, you'll see in the Rail...

Monday, June 28 2010
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Rolf Timmermans
    Rolf Timmermans commented at 8:03 AM

    It appears the problem also occurs with a simple call to .joins() in combination with has_many associations:

    Article.joins(:comments).first # Retrieves column d...

  • Rolf Timmermans
    Rolf Timmermans created the ticket at 6:39 AM

    While trying out Rails 3 for one of my applications, I have been bitten by the following.

    When doing a calculation such as .count on has_many associations that ...