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.

Jeremy Huffman's latest activity

Wednesday, February 04 2009
2 Breaks has_one :through was updated in nested_has_many_through
  • Jeremy Huffman
    Jeremy Huffman commented at 1:54 AM

    last try...

    has_many :tasks, :through => :projects

    has_one :primary_task, :through => :projects, :source => :tasks, :conditions => 'tasks.primary = true'

    has_ma...

  • Jeremy Huffman
    Jeremy Huffman commented at 1:53 AM

    retry formatting failure...

    has_many :tasks, :through => :projects has_one :primary_task, :through => :projects, :source => :tasks, :conditions => 'tasks.prima...

  • Jeremy Huffman
    Jeremy Huffman created the ticket at 1:50 AM

    I have some code like this. Your most excellent plug-in makes the third line possible, but then introduces an error in the 2nd line which works fine without the...