anchor.diff:            <h3>Estos son los <strong>recursos educativos favoritos</strong><br>de los usuarios de EducaInternet</h3>
               <p>Lorem ipsum dolor sit amet, Quisque porta, erat sit amet dapibus molestie, dolor quam tempus lacus, sed aliquam arcu dolor in dolor. Pellentesque a nibh orci. Aenean in ligula quis eros suscipit auctor.</p>
               <div class="items">
  -              <% begin
  -                  favorites = Document.all.sample(10)
  -                end %>
  -                <% favorites.each do |doc| %>
  -                  <%= render partial: 'repositories/resource', locals: { resource: doc} %>
  -                <% end %>
  +                 <% types = VishConfig.getAvailableResourceModels({:return_instances => true})
  +                    favorites = Search.search({:n => 10, :order => "ranking DESC", :ao_ids_to_avoid => [2538, 2513, 2559, 3510, 6392], :models=> types})%>
  +                  <% favorites.each do |doc| %>
  +                    <%= render partial: 'repositories/resource', locals: { resource: doc} %>
  +                  <% end %>
                   <div class="clear"></div>
               </div>
           </div>
  
positive.code:         </div>
            <div class="items">
              <% begin
                favorites = Document.all.sample(5)
              end %>
              <% favorites.each do |doc| %>
                <%= render partial: 'repositories/resource', locals: { resource: doc} %>
              <% end %>
              <div class="clear"></div>
            </div>
        </div>
  
negative.code:         </div>
            <div class="items">
              <% begin
                  quality = [Category.find(68), Category.find(97), Category.find(81), Category.find(87), Category.find(103), Category.find(111)]
                rescue ActiveRecord::RecordNotFound => e
                  quality = Category.all.sample(6)
                end %>
                <%quality.each do |doc| %>
                  <%= render partial: 'repositories/resource', locals: { resource: doc} %>
                <% end %>
            <div class="clear"></div>
  