I've created a standard CRUD in one of my controllers. Model User related to that controller has
accepts_nested_attributes_for :address, class: 'Address' for association (has_one). I was wondering how could i set things up on edit action so user could delete content of the nested fields and on the update action the sub model (for nested attributes) would be deleted ? Excuse me, if i didn't explain this clear enough.