Displaying 1 result from an estimated 1 matches for "new_permiss".
2009 May 22
1
[PATCH server] fix for BZ #477796: pool name uniqueness
...cord::Base
transaction do
save!
move_to_child_of(parent)
+ # second save! call is to trigger validation rules related to parent_id
+ # since this nested set API call bypasses the standard AR validation
+ save!
parent.permissions.each do |permission|
new_permission = Permission.new({:pool_id => id,
:uid => permission.uid,
--
1.6.0.6