anchor.diff:      $('select#building_id').find('option').removeClass('hide');
       $('select#building_id').find('option').not('option[data-wing="' + selected + '"]').addClass('hide');
     });
  -
  -
  -
   </script>
  
positive.code: 
    <p>
      <b>Funcionamento:&nbsp;</b>
      <%= label_tag(:id_active, "Ativa") %>
      <%= radio_button_tag(:ativo, "ativa", false, :id => "id_active") %>&nbsp;&nbsp;
      <%= label_tag(:id_anative, "Inativa") %>
      <%= radio_button_tag(:ativo, "inativa", false, :id => "id_anative") %>
    </p>
  
    <% if @rooms.count == 0 %>
  
negative.code:           );
          }
        <%end%>
      } else if (roomStatus === "inactive") {
         <% @rooms.each do |room| %>
           if (!<%= room.active %>) {
              $(".show_room").append(
  