Ecto SQLite3

An elixir library that provides SQLite3 support for Ecto 3.0 source code defmodule MyApp.Repo do use Ecto.Repo, otp_app: :my_app, adapter: Ecto.Adapters.SQLite3 end

April 28, 2021

Exqlite

An elixir library to interface with SQLite3. It’s quick an easy to get running and works well on embeded Nerves projects. source code # We'll just keep it in memory right now {:ok, conn} = Exqlite.Sqlite3.open(":memory:") # Create the table :ok = Exqlite.Sqlite3.execute( conn, "create table test (id integer primary key, stuff text)" ); # Prepare a statement {:ok, statement} = Exqlite.Sqlite3.prepare(conn, "insert into test (stuff) values (?...

April 28, 2021

RubyFM

Check it out here

January 1, 2018

Signals

source code A light-weight pub-sub ruby library that allows for event triggered blocks to be used. class UsersController < ApplicationController def create command = CreateUser.new command.on(:success) do |user| respond_to do |format| format.html do flash[:notice] = I18n.t('user.create.success') @user = user redirect_to(user_path(user.id)) end end end command.on(:failed) do |user| respond_to do |format| format.html do flash[:alert] = I18n.t('user.create.failed') @user = user render(action: 'new', status: 400) end end end command....

January 1, 2017

Skeleton

source code Allows you to define swagger compatible documentation within ruby using a nice DSL.

March 14, 2015

Wellness

source code

March 14, 2015

Yukata

source code

March 14, 2015