<commit_before><header>
  <div class="container">
    <div class="navbar navbar-inverse">
      <div class="navbar-inner">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <%= link_to '<NAME>', root_path, class: 'brand' %>
        <div class="nav-collapse collapse">
          <ul class="nav">
            <li class="active"><%= link_to 'Posts', posts_path %></li>
            <li ><%= link_to 'Personas', people_path %></li>
            <li ><%= link_to 'Organizaciones', organizations_path %></li>
            <li ><%= link_to 'Fotos', photos_path %></li>

            <%= render 'devise/menu/registration_items' %>
            <%= render 'devise/menu/login_items' %>
            <li ><%= link_to 'Admin', rails_admin_path %></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</header><commit_msg>Highlight nav menu bar only for current section. Fixes #38<commit_after><header>
  <div class="container">
    <div class="navbar navbar-inverse">
      <div class="navbar-inner">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <%= link_to '<NAME>', root_path, class: 'brand' %>
        <div class="nav-collapse collapse">
          <ul class="nav">
            <li class="<%= 'active' if controller.controller_name == 'posts' %>"><%= link_to 'Posts', posts_path %></li>
            <li class="<%= 'active' if controller.controller_name == 'people' %>"><%= link_to 'Personas', people_path %></li>
            <li class="<%= 'active' if controller.controller_name == 'organizations' %>"><%= link_to 'Organizaciones', organizations_path %></li>
            <li class="<%= 'active' if controller.controller_name == 'photos' %>"><%= link_to 'Fotos', photos_path %></li>

            <%= render 'devise/menu/registration_items' %>
            <%= render 'devise/menu/login_items' %>
            <li ><%= link_to 'Admin', rails_admin_path %></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</header>
{'fraction_non_alphanumeric': 0.19738562091503267, 'fraction_numerical': 0.0008714596949891067, 'mean_word_length': 2.5486862442040183, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1535763', 'n_tokens_mistral': 758, 'n_tokens_neox': 710, 'n_words': 159}