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.

John Hawthorn's latest activity

Monday, November 29 2010
6037 has_one :through a belongs_to association will return nil on deleted records was updated in Ruby on Rails
Wednesday, November 24 2010
6061 rake db:fixtures:load FIXTURES=tables is broken was updated in Ruby on Rails
  • John Hawthorn
    John Hawthorn commented at 11:15 PM

    Patch which fixes the issue.

  • John Hawthorn
    John Hawthorn created the ticket at 11:11 PM

    The db:fixtures:load rake task allows specifying a comma list of which fixtures to load as FIXTURES. However under rails 3 and current master it fails, strippin...

Monday, November 22 2010
6037 has_one :through a belongs_to association will return nil on deleted records was updated in Ruby on Rails
  • John Hawthorn
    John Hawthorn commented at 10:35 PM

    Here is my attempt at a patch

    It adds foreign_key_present to HasOneThroughAssociation which returns true when the through_reflection is a belongs_to and primary...

  • John Hawthorn
    John Hawthorn created the ticket at 7:37 PM

    This worked in rails 3.0.1 and now fails in rails 3.0.3 and in master. When a record is destroyed, attempting to load a has_one :through association on it will ...