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.

Ryan Aipperspach's latest activity

Thursday, April 07 2011
6685 Move conditions for polymorphic joins from WHERE to ON clause was created in Ruby on Rails
  • Ryan Aipperspach
    Ryan Aipperspach created the ticket at 11:02 PM

    The problem

    Polymorphic joins currently add a condition (e.g., taggable_type="Post") to the WHERE clause. When the table being joined is in an outer join (e.g.,...