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's latest activity

Wednesday, July 02 2008
538 has_many :through generates bad SQL during include? was updated in Ruby on Rails
  • ...Paul
    ...Paul commented at 7:41 PM

    The problem exists somewhere in the heirarchy of the "exists?" method in active_record/base.rb (or, in active_record/associations/association_collection.rb, wh...

  • ...Paul
    ...Paul created the ticket at 7:14 PM

    If I have a class that has_many of another class :through a join table, I find I get a SQL error from the .include?(obj) method. This doesn't happen if the re...