Skip to content

tursodatabase/libsql-activerecord

Repository files navigation

libSQL Ruby

libSQL ActiveRecord

Databases for all your Ruby on Rails Apps.

Turso · Docs · Blog & Tutorials

MIT License Discord Contributors Examples

Features

Warning

This SDK is currently in technical preview. Join us in Discord to report any issues.

Install

gem install libsql_activerecord

Quickstart

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"

Documentation

Visit our official documentation.

Support

Join us on Discord to get help using this SDK. Report security issues via email.

Contributors

See the contributing guide to learn how to get involved.

Contributors

good first issue

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published