@@ -150,6 +150,42 @@ class SimulationsController < ApplicationController
end
```
3. To ensure that update_jobs is called prior to the `@simulation` object being created, get rid of the `before_action :set_simulation` and call this explicitly in each controller action:
```diff
class SimulationsController < ApplicationController