Skip to content

Latest commit

 

History

History
93 lines (73 loc) · 2.81 KB

README.md

File metadata and controls

93 lines (73 loc) · 2.81 KB

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