Chewy Gem with Active Model Serializers in Ruby on Rails 5.2.3

Manato Kuroda
6 min readMay 3, 2019

I’ll talk about how to use Chewy gem and Active Model Serializers on Rails app. Chewy is one of ElasticSearch's clients and extends elasticsearch-ruby with various extensions and utilities. It is similar to elasticsearch-rails but I recently had an opportunity to use it in some projects so I’d like to share its usage.

Set up Mysql, ElasticSearch…