1. Ruby /
  2. Integrations

Ruby On Rails

The elasticsearch-rails Rubygem provides features suitable for Ruby on Rails applications.

Features

  • Rake tasks for importing data from application models
  • Integration with Rails' instrumentation framework
  • Templates for generating example Rails application

Example applications

You can generate a fully working example Ruby on Rails application with templates provides.

Please refer to the documentation for more information.

Previous
ActiveModel / ActiveRecord
Next
Persistence
  • View as Markdown
  • Edit this page
On this page
  • Features
  • Example applications
  • Ruby

  • Ruby
    • Getting started
    • Installation
    • Connecting
    • Configuration
      • Basic configuration
      • Advanced configuration
    • Integrations
      • Transport
      • Elasticsearch API
      • Using OpenTelemetry
      • Elastic Common Schema (ECS)
      • ActiveModel / ActiveRecord
      • Ruby On Rails
      • Persistence
      • Elasticsearch DSL
    • Examples
    • Client helpers
      • Bulk and Scroll helpers
      • ES|QL
    • Troubleshoot
  • Elasticsearch Ruby Client
    • Known issues
    • Breaking changes
    • Deprecations
Elastic logo

© 2026 Elasticsearch B.V. All Rights Reserved.

  • Terms of Use
  • Privacy