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.

There was a problem

You must be a member of this account.

Jon's latest activity

Friday, July 04 2008
548 has_many :through w/ condition returns invalid included records was created in Ruby on Rails
  • Jon
    Jon created the ticket at 1:24 AM

    Given the following:

    class Father < ActiveRecord::Base

    has_many :children

    has_many :boys, :through => :children, :conditions => 'boys.age < 10'

    end

    class ...