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

This is not a public project

Jon Leighton's latest activity

Wednesday, December 15 2010
2421 Problem with has_many :through and alternate keys was updated in Ruby on Rails
  • Jon Leighton
    • Tag set to patch
    by Jon Leighton at 11:33 PM
  • Jon Leighton
    • Assigned user changed from Pratik to Aaron Patterson
    by Jon Leighton at 11:34 PM

    The attached patch fixes this (and a couple of related issues), with tests.

    Note that I have consolidated construct_owner_attributes and construct_quoted_owner_...

Sunday, December 12 2010
2297 :through Associations don't respect default_scope was updated in Ruby on Rails
  • Jon Leighton
    • Assigned user set to Aaron Patterson
    • Importance changed from to
    by Jon Leighton at 5:06 PM

    I can confirm this is an issue. I've attached an up-to-date patch which fixes it with test cases.

2247 has_one :through produces invalid SQL was updated in Ruby on Rails
  • Jon Leighton
    • Assigned user set to Aaron Patterson
    • Importance changed from to
    by Jon Leighton at 1:56 PM

    This is no longer an issue can can be closed. The behaviour is verified by the test test_has_one_through_with_has_one which exists in test/cases/associations/ha...

1723 Eager load of has_one :through with conditions on the :through table fails was updated in Ruby on Rails
  • Jon Leighton
    • Assigned user changed from Frederick Cheung to Aaron Patterson
    • Importance changed from to
    by Jon Leighton at 1:46 PM

    This is no longer an issue because eager loading now has two different behaviours (JOIN or a separate query) depending on whether conditions are present.

    I've a...

1711 Has many through association with :order causes a SQL error with PostgreSQL was updated in Ruby on Rails
  • Jon Leighton
    • Assigned user set to Aaron Patterson
    • Importance changed from to
    by Jon Leighton at 1:29 PM

    It's not clear what the expected result should be, which is why postgres throws an error.

    Due to the use of DISINCT, for any given Person in the output, there m...

5970 Strange has_many :through issue with adding objects to a collection was updated in Ruby on Rails
  • Jon Leighton
    • Assigned user set to Ryan Bigg
    by Jon Leighton at 11:38 AM

    Please can this be closed as per reporter's request?

4887 has_many through belongs_to association bug was updated in Ruby on Rails
  • Jon Leighton
    • Assigned user changed from Andrew White to Ryan Bigg
    by Jon Leighton at 11:26 AM

    Reporter has indicated that this is no longer an issue in Rails 3, which is the current stable, so can this be closed please?

Sunday, October 31 2010
1152 Support for nested :through associations was updated in Ruby on Rails