# ES 5.1 and ruby/rails

**URL:** <https://discuss.elastic.co/t/es-5-1-and-ruby-rails/69441>\
**Category:** Elasticsearch\
**Created:** [December 19, 2016, 12:18pm UTC](https://discuss.elastic.co/t/es-5-1-and-ruby-rails/69441 "2016-12-19T12:18:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasl](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@jasl](https://discuss.elastic.co/u/jasl)\
**Post date:** [December 19, 2016, 12:18pm UTC](https://discuss.elastic.co/t/es-5-1-and-ruby-rails/69441/1 "2016-12-19T12:18:15Z")

</div>

Seems like the official Ruby gem is not ready for Elastic 5.1 in particualr when using elasticsearch-model, elasticsearch-rails or elastic-search persistence with the activerecord pattern.

the String type has been deprecated by %.0 adn removed in 5.1 but this gems has not support for Text or Keyword.

Does anyone knows a workaround?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 16, 2017, 12:18pm UTC](https://discuss.elastic.co/t/es-5-1-and-ruby-rails/69441/2 "2017-01-16T12:18:42Z")

</div>

Closed on January 16, 2017, 12:18pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
