On 06/14/2011 10:16 PM, Matt Wagner wrote:
The Assembly association no longer exists, and this was causing errors to be thrown when viewing Instance details. We now show assembly_xml and gracefully handle cases where it is nil.
src/app/views/instances/_properties.haml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/instances/_properties.haml b/src/app/views/instances/_properties.haml index 7e1d9ed..ab9d4a2 100644 --- a/src/app/views/instances/_properties.haml +++ b/src/app/views/instances/_properties.haml @@ -24,7 +24,7 @@ - else %li = label_tag :assembly, 'Assembly'
%span= @instance.legacy_assembly.name
%li = label_tag :provider, 'Provider' %span= @instance.provider_account.provider.name if @instance.provider_account%span= @instance.assembly_xml ? @instance.assembly_xml.name : ''
ACK