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.

This project is archived and is in readonly mode.

[PATCH] ActiveRecord::Base#reload broken by foreign key assignment

#1076

The fix for #142 belongs_to association not updated when assigning to foreign key introduced a bug wherein a reload followed by a foreign key assignment throws an exception. A tested patch is attached that fixes the problem.

Reported by Nathaniel Talbott · September 19th, 2008 @ 09:48 PM

State: committed
Milestone: none
Assigned to: Michael Koziarski Michael Koziarski
Importance: none