Removed dependency on elasticsearch-rails