Class: Progress
Instance Method Summary
collapse
aggregate_of, all_except, defaults, #delete, #destroy!, numbered, organic_on, resource_fields, #save, #save_and_notify!, #save_and_notify_changes!, serialize_symbolized_hash_array, #update_and_notify!, update_or_create!, whitelist_attributes
Instance Method Details
#dirty_parent_by_submission! ⇒ Object
12
13
14
|
# File 'app/models/progress.rb', line 12
def dirty_parent_by_submission!
parent&.dirty_by_submission!
end
|
#parent ⇒ Object
7
8
9
10
|
# File 'app/models/progress.rb', line 7
def parent
assign_attributes(parent: parent_content&.progress_for(user, organization)) unless super
super
end
|