Skip to content

Conversation

@bassemawhoob
Copy link
Contributor

Motivation / Background

This pull request adds support ActiveRecord 8.1 and improves compatibility by introducing a NullPool implementation for connection pooling. It also reorganizes some internal requires for better code structure.

Detail

  • Updated the gemspec to allow ActiveRecord versions up to 8.1, and added a new test gemfile for ActiveRecord 8.1 support.
  • Added a new Tableless::NullPool class that inherits from ActiveRecord::ConnectionAdapters::NullPool and implements the with_pool_transaction_isolation_level method for compatibility with recent ActiveRecord versions.
  • Updated Tableless::DummyAdapter to initialize and use the new NullPool for connection pooling.

Fixes #6

@bassemawhoob bassemawhoob force-pushed the rails-8.1 branch 4 times, most recently from a672d6a to b55f4c0 Compare October 29, 2025 06:50
@bassemawhoob bassemawhoob changed the title add support for rails 8.1 Add support for Rails 8.1 Oct 29, 2025
@bassemawhoob
Copy link
Contributor Author

@jonian

@jonian jonian merged commit c3fd841 into hardpixel:master Oct 29, 2025
7 checks passed
@jonian
Copy link
Member

jonian commented Oct 29, 2025

Thank you for your contribution @bassemawhoob !

@bassemawhoob bassemawhoob deleted the rails-8.1 branch October 29, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rails 8.1 support

2 participants