There's a lot of open issues
Active Record adapter for https://github.com/trilogy-libraries/trilogy.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.11
~> 0.10
~> 12.3

Runtime

>= 6.0.a, < 7.1.a
>= 2.4.0
 Project Readme

Trilogy Adapter

Ruby on Rails Active Record database adapter for Trilogy, a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.

This gem offers Trilogy support for versions of Active Record prior to v7.1. Currently supports:

  • ⚠️ Rails v7.1+ includes Trilogy support by default making this gem unnecessary
  • ✅ Rails v7.0.x
  • ✅ Rails v6.1.x
  • ✅ Rails v6.0.x

Requirements

  • Ruby v2.7 or higher
  • Active Record v6.0.x or higher
  • Trilogy v2.4.0 or higher, which is included as a dependency of this gem.

Setup

  1. Add the following to your Gemfile and run bundle install:

    # Gemfile
    gem "activerecord-trilogy-adapter"
  2. Update your application's database configuration to use trilogy as the adapter:

    # config/database.yml
    adapter: trilogy

Versioning

Read Semantic Versioning for details. Briefly, it means:

  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
  • Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.

Contributions

Read CONTRIBUTING for details.

License

Released under the MIT License.