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.

eli.b's latest activity

Wednesday, March 23 2011
6608 Generated sql for has_many :through relation wrong when used with STI was updated in Ruby on Rails
  • eli.b
    eli.b commented at 6:17 PM

    Hey-
    Thanks Andrew!
    'if you define the association in the base class it works as expected though.' What do you mean exactly? If I just put the class definition ...

  • eli.b
    eli.b created the ticket at 3:39 AM

    Consider these models:


    class First < ActiveRecord::Base

    has_many :tags

    has_many :thirds, :through => :tags

    end

    class Second < ActiveRecord::Base end

    class Third...