#3 ✓resolved
Sam Smoot

Save-chaining should be explicit

Reported by Sam Smoot | October 4th, 2007 @ 02:46 PM

Right now the save/validation-chaining just iterates over #instance_variables and looks for vars that respond_to :valid? and :save.

Which was just a quick hack. Instead I'd like associations to assign themselves to a model_instance#loaded_associations array on load, and we can just explicitly look at that during save.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

People watching this ticket

Referenced by

Pages