Displaying 2 results from an estimated 2 matches for "0a63723".
Did you mean:
0.6723
2009 May 22
1
[PATCH server] fix for BZ #477796: pool name uniqueness
...ay the betternestedset API sets the parent_id the rules were being bypassed.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/models/pool.rb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/app/models/pool.rb b/src/app/models/pool.rb
index 2979fcb..0a63723 100644
--- a/src/app/models/pool.rb
+++ b/src/app/models/pool.rb
@@ -65,6 +65,9 @@ class Pool < ActiveRecord::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 ca...
2009 May 26
1
[PATCH server] fix for Bug 466731 - There is no title for the third column in User Access page and can't be sorted
...column title and made it sortable.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/models/pool.rb | 4 +++-
src/app/views/user/_grid.rhtml | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/app/models/pool.rb b/src/app/models/pool.rb
index 0a63723..3c95684 100644
--- a/src/app/models/pool.rb
+++ b/src/app/models/pool.rb
@@ -57,7 +57,9 @@ class Pool < ActiveRecord::Base
:in => %w( DirectoryPool HardwarePool VmResourcePool SmartPool )
# overloading this method such that we can use permissions.admins to get all the admins for an...