% if result.blank? and @result.present? then result = @result end %> <% table = result.table %> <% comments = result.comments %> <% timestamp = table.created_at %> <% name = result.name %>