lib/rails_ops/operation/model.rb in rails_ops-1.0.2 vs lib/rails_ops/operation/model.rb in rails_ops-1.0.3

- old
+ new

@@ -146,10 +146,12 @@ # Performs nested model operations and then saves the model. If you have # nested model operations, you should call this method instead of calling # `model.save!` directly. def save! + run_policies :before_nested_model_ops perform_nested_model_ops! + run_policies :before_model_save model.save! end # Override of the base classes method to provide the model under key `model` # to operations called via the `after_run` hook. You can still override this