associations.accepts_nested_objects refactor