Databases for all your Ruby on Rails Apps.
Turso · Docs · Blog & Tutorials
- 🚆 Works with Ruby on Rails
- 🔌 Works offline with Embedded Replicas
- 🌎 Works with remote Turso databases
- ✨ Works with Turso AI & Vector Search
Warning
This SDK is currently in technical preview. Join us in Discord to report any issues.
gem install libsql_activerecord
The example below uses Ruby on Rails with ActiveRecord:
default: &default
adapter: libsql
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
development:
<<: *default
url: <%= ENV['TURSO_DATABASE_URL'] %>
auth_token: <%= ENV['TURSO_AUTH_TOKEN'] %>
path: "path/to/local/replica.db"
Visit our official documentation.
Join us on Discord to get help using this SDK. Report security issues via email.
See the contributing guide to learn how to get involved.