Displaying 2 results from an estimated 2 matches for "state_queu".
Did you mean:
state_queued
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2009 Oct 08
3
[PATCH] fix storages crazyness
...dels/vm.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/app/models/vm.rb b/app/models/vm.rb
index 88e0aef..0be3f89 100644
--- a/app/models/vm.rb
+++ b/app/models/vm.rb
@@ -27,7 +27,7 @@ class Vm < ActiveRecord::Base
find(:all, :conditions=>{:state=>Task::STATE_QUEUED})
end
end
- has_and_belongs_to_many :storage_volumes
+ has_and_belongs_to_many :storage_volumes, :uniq => true
has_many :nics, :dependent => :destroy
--
1.6.2.5