Learned a lot about nested attributes and Rails
It’s been a frustrating night trying to figure out how accepts_nested_attributes_for, autosave, dirtyness, and Rails versions all fit together. Going to try and summarize my findings and hopefully I’ll get it right. accepts_nested_attributes_for turns on autosave autosave will cause any loaded associations to be saved when save for the parent object is called the key …
Continue reading ‘Learned a lot about nested attributes and Rails’ »