Integration of Ruby on Rails 2.3 models (ActiveRecord) with Elasticsearch search