Revision 00bd7de4
Added by Michael Moll about 5 years ago
app/models/service/containers.rb | ||
---|---|---|
74 | 74 |
|
75 | 75 |
def destroy_wizard_state(wizard_state) |
76 | 76 |
wizard_state.destroy |
77 |
DockerContainerWizardState.destroy_all(["updated_at < ?", (Time.now.utc - 24.hours)])
|
|
77 |
DockerContainerWizardState.where(["updated_at < ?", (Time.now.utc - 24.hours)]).destroy_all
|
|
78 | 78 |
end |
79 | 79 |
|
80 | 80 |
def load_environment_variables(state, r) |
Also available in: Unified diff
More Rails 5.1 changes