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.

Paul Gideon Dann's latest activity

Wednesday, March 02 2011
5392 column_definitions method being called before and after every single SQL stat... was updated in Ruby on Rails
  • Paul Gideon Dann
    Paul Gideon Dann commented at 9:27 AM

    I'm pretty sure those requests are deliberate in development and testing environments. I think it's something to do with the fact that caching is disabled in th...

Tuesday, March 01 2011
5392 column_definitions method being called before and after every single SQL stat... was updated in Ruby on Rails
Thursday, September 02 2010
5347 default_scope order(...), PostgreSQL, and has_and_belongs_to_many cause Assoc... was updated in Ruby on Rails
  • Paul Gideon Dann
    Paul Gideon Dann commented at 10:22 AM

    @Neeraj => YES! The fix committed in that ticket has also fixed this problem. The commit is present on the rails 3-0-stable branch, so I'm guessing it'll be ava...

Wednesday, September 01 2010
5347 default_scope order(...), PostgreSQL, and has_and_belongs_to_many cause Assoc... was updated in Ruby on Rails
  • Paul Gideon Dann
    Paul Gideon Dann commented at 4:52 PM

    I've had a shot at it developing that testcase, but the bug itself is clearly caused by a weird interaction involving several parts of the stack, and I can't re...

Tuesday, August 31 2010
5347 default_scope order(...), PostgreSQL, and has_and_belongs_to_many cause Assoc... was updated in Ruby on Rails
  • Paul Gideon Dann
    Paul Gideon Dann commented at 11:15 AM

    I don't understand---how can Rails 3.0 ship with this bug? We haven't even heard anything from a developer regarding this :s It would be nice to know what the p...

Wednesday, August 11 2010
5347 default_scope order(...), PostgreSQL, and has_and_belongs_to_many cause Assoc... was updated in Ruby on Rails
  • Paul Gideon Dann
    • Tag changed from activerecord-store, critical, postgresql, rails3rc, sqlite_adapter to arel rails3, activerecord-store, critical, postgresql, rails3rc, sqlite_adapter
    by Paul Gideon Dann at 2:37 PM

    Yes, you're quite right---I can reproduce it using the testcase above with Sqlite3 as well. I'd guess that means the bug isn't related to the database adapter t...

  • Paul Gideon Dann
    • Tag changed from activerecord-store, postgresql, rails3rc to activerecord-store, critical, postgresql, rails3rc
    by Paul Gideon Dann at 10:06 AM

    This seems like a really serious bug. It seems as though the PostgreSQL adaptor is generally in a bad state, really. Please look into this pretty soon; I'm worr...

Tuesday, August 10 2010
5347 default_scope order(...), PostgreSQL, and has_and_belongs_to_many cause Assoc... was created in Ruby on Rails
  • Paul Gideon Dann
    Paul Gideon Dann created the ticket at 3:43 PM

    I've created a simple test-case to demonstrate the bug I've encountered in a larger project. I have two models: Project, and Person. They have a has_and_belongs...

Monday, August 09 2010
2371 Default scope with :conditions => "a string" was updated in Ruby on Rails
  • Paul Gideon Dann
    • Tag changed from active_record, bug, bugmash, default_scope, patch to arel rails3, active_record, bug, bugmash, default_scope, patch, rails3rc
    • Importance changed from to High
    by Paul Gideon Dann at 1:08 PM

    I'm seeing this issue in Rails 3.0.0.rc when I set a default_scope to an "order" clause. It seems like a pretty big deal. Can this patch be forward-ported to Ra...