ActiverecordYamless

Installation

Add this line to your application's Gemfile:

gem 'activerecord_yamless'

And then execute:

$ bundle

Or install it yourself as:

$ gem install activerecord_yamless

Usage

application.rb

config.database_configuration.base = {
    adapter: "sqlite3",
    pool: 5,
    timeout: 5000
}

environments/production.rb

config.database_configuration.production = {
  database: "db/production.sqlite3"
}