This project is archived and is in readonly mode.

#2213 ✓resolved
Will Bryant

Saving objects with associated has_one :throughs loaded broken

Reported by Will Bryant | March 11th, 2009 @ 01:16 PM

5cda000, which changed the autosave logic between rc1 & rc2, broke the save of any objects that have has_one :through associations :included.

The attached patch fixes this using the same bit of code used higher up in autosave_associations.rb, and adds spec coverage for has_one :through, has_one, and belongs_to to make sure they don't have the same problem.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket


Referenced by