lib/sn_foil/contexts/update_context.rb
# This method is private to help protect the order of execution of hooks
This method is private to help protect the order of execution of hooks
This method is private to help protect the order of execution of hooks
def update_hooks(options)
        options = before_update_save(options)
        update_successful = options[:object].save
        options[:object] = unwrap_object(options[:object])
        options = if update_successful
                    after_update_save_success(options)
                  else
                    after_update_save_failure(options)
                  end
        after_update_save(options)
      end
def update_hooks ( options ) options = before_update_save ( options ) update_successful = options [ :object ] . save options [ :object ] = unwrap_object ( options [ :object ] ) options = if update_successful after_update_save_success ( options ) else after_update_save_failure ( options ) end after_update_save ( options ) end
This method is private to help protect the order of execution of hooks
This method is private to help protect the order of execution of hooks
options
<not_specific>