opentelemetry-sqlcommenter
opentelemetry-sqlcommenter copied to clipboard
Update Ruby docs with latest Rails support
This PR updates the Ruby docs to leverage the support Rails has recently provided for SQLCommenter. This will facilitate adoption of SQLCommenter for folks who aren't familiar with how SQLCommenter support has changed across Rails versions.
Note that the current docs are not compatible with Rails versions 6.0 and up. This PR makes the following changes to bring them up to date:
- For Rails >=7.1, include docs about how SQLCommenter is now fully supported as the default formatter
- For Rails 7.0, include docs on the PlanetScale SQLCommenter gem which is a workaround that provides SQLCommenter support for Rails 7.0
- The Marginalia library was re-implemented natively in Rails version 7.0 (in this PR), so the current documentation that leverages a Marginalia fork will not work.
- Replace
glebm's fork of Marginalia withmodulitos's fork, which includes updates to support Rails 6.