Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Tire Retire

Karel Minarik edited this page Mar 3, 2014 · 3 revisions

(Re)Tire

The Tire library has been around since early 2011, being the first Ruby gem to bring a full, out-of-the box integration of Elasticsearch with Ruby on Rails and ActiveModel/ActiveRecord.

It has been retired in September 2013, since a new library, https://github.com/elasticsearch/elasticsearch-ruby, has been released at that time.

The new elasticsearch Ruby gem for Elasticsearch doesn't support all the high-fructose high-level DSL of Tire, or the automatic compatibility of search results with Rails' helpers such as url_for or rich integration for your models.

It does, however, offer a much more solid, robust and better designed foundation for writing integrations and extensions like this, potentially avoiding many problems in Tire.

If you're using Tire in a project, or contemplate to start using it, these are the important points:

  1. The library will continue to work as it did until now. In fact, it will certainly work better, since bugs will be fixed and important features will be added.

  2. All the URLs will continue to work, and be properly redirected by the browser, Git or Bundler. There is no need to change them unless you want to.

  3. The project has been renamed to increase the visibility of this migration, not just for fun.

You should evaluate and research the https://github.com/elasticsearch/elasticsearch-rails suite of gems, which offer a similar set of features as Tire did (ActiveModel/ActiveRecord integration, Rails integration, example application templates, etc.)

On a personal note, I'd like to thank everybody who shared feedback, code, criticism, praise, said thanks. I have never imagined the simple “scratch-my-itch” project will be used by so many people for so many different things. Tire has been by far my most popular open source project, and I have learnt a lot along the way. Let's keep the good parts and seed them on a new soil.