Skip to content

Instantly share code, notes, and snippets.

Created September 19, 2013 07:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
diff --git a/app/views/compute_resources_vms/index/_vmware.html.erb b/app/views/compute_resources_vms/index/_vmware.html.erb
index 2d6177a..0a04b39 100644
--- a/app/views/compute_resources_vms/index/_vmware.html.erb
+++ b/app/views/compute_resources_vms/index/_vmware.html.erb
@@ -12,7 +12,7 @@
<% @vms.each do |vm| -%>
- <td><%= link_to_if_authorized, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity) %></td>
+ <td><%= link_to_if_authorized, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity) rescue raise("vm: #{} (#{vm.identity}, #{vm.send(:raw)})") %></td>
<td><%= vm.path %></td>
<td><%= vm.cpus %></td>
<td> <%= number_to_human_size vm.memory %></td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment