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.

Jacob Gorban's latest activity

Tuesday, May 12 2009
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • Jacob Gorban
    • Tag changed from 2.3.2, activerecord, bug, calculations, patch, regression, scope to 2.2.2, 2.3.2, activerecord, bug, calculations, mysql, patch, regression, scope
    by Jacob Gorban at 10:08 PM

    But there is really a problem with .count on MySQL in 2.2.2. And it's not related to named scopes. I've stumbled on it too. In a database where the models are t...