If a GET fails while looking up a friendly name, skip the hyperlink
authorTom Clegg <tom@curoverse.com>
Tue, 14 Jan 2014 22:41:54 +0000 (14:41 -0800)
committerTom Clegg <tom@curoverse.com>
Tue, 14 Jan 2014 22:41:54 +0000 (14:41 -0800)
commit5225a4deab9bf526d4e178cb5220f790b3d33e67
tree6a0cd6b857805ed300d10909884c8f5bba8a2794
parente049bc7067a800c2852ffaf82c9b530cef5b9f19
If a GET fails while looking up a friendly name, skip the hyperlink
instead of crashing.

Also, move the "choose a friendly name" logic from helper to model.

refs #1871
apps/workbench/app/helpers/application_helper.rb
apps/workbench/app/models/arvados_base.rb
apps/workbench/app/models/node.rb
apps/workbench/app/models/user.rb
apps/workbench/app/models/virtual_machine.rb