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.

Avi Flombaum's latest activity

Wednesday, March 04 2009
14 Join Table Conditions Broken was updated in ar-extensions
  • Avi Flombaum
    Avi Flombaum commented at 1:20 PM

    Sorry about the bad formatting above. The last line should read:

    Returns: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column 'users.articles' in 'wher...

  • Avi Flombaum
    Avi Flombaum commented at 1:19 PM

    Yah, I tested this, there is a bug.

    
    class Article < ActiveRecord::Base
      belongs_to :user
    end
    
    class User < ActiveRecord::Base
      has_many :articles
    end...
  • Avi Flombaum
    Avi Flombaum commented at 12:57 PM

    That's weird - where is "companies" coming from in that SQL - I only see Ticket and Division. I'm going to test this and get back to you. After I upgraded to 0....

Sunday, February 08 2009
14 Join Table Conditions Broken was updated in ar-extensions
  • Avi Flombaum
    • Assigned user set to Zach Dennis
    by Avi Flombaum at 4:58 PM
Monday, February 02 2009
14 Join Table Conditions Broken was created in ar-extensions
  • Avi Flombaum
    Avi Flombaum created the ticket at 9:11 PM

    So Join Table Conditions don't work when using ar-extensions 0.8.0 and Rails 2.2.2

    
    class Article < ActiveRecord::Base
      belongs_to :user
    end
    
    class User ...