old_contents: //= require active_admin/base
  //= require vendor/select2
  //= require vendor/redactor
  // require jquery.ui.tabs
  
  $(document).ready(function(){
    if($("select.select2").length) {
      $("select.select2").select2();
    }
  
    // In one line for easy removal using sed
    $('#entry_body').redactor({ focus: false, buttons: ['bold', 'italic', 'link', 'unorderedlist'], lang: 'pl' })
  });
new_contents: //= require jquery.ui.tabs
  //= require vendor/select2
  //= require vendor/redactor
  
  $(document).ready(function(){
    if($("select.select2").length) {
      $("select.select2").select2();
    }
  
    // In one line for easy removal using sed
    $('#entry_body').redactor({ focus: false, buttons: ['bold', 'italic', 'link', 'unorderedlist'], lang: 'pl' })
  });
  
subject: Remove active admin assets as they cause probems with jquery tabs