search for: create_with_par

Displaying 1 result from an estimated 1 matches for "create_with_par".

2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
...uired permissions # [<tt>Privilege::MODIFY</tt>] for the parent pool - def svc_create(pool_hash, other_args) - svc_new(other_args[:parent_id], pool_hash) + def svc_create(pool_hash, parent_id, other_args) + svc_new(parent_id, pool_hash) Pool.transaction do @pool.create_with_parent(@parent) diff --git a/src/app/services/smart_pool_service.rb b/src/app/services/smart_pool_service.rb index 28bdaf3..15218ed 100644 --- a/src/app/services/smart_pool_service.rb +++ b/src/app/services/smart_pool_service.rb @@ -43,8 +43,8 @@ module SmartPoolService # +parent_...