I hereby claim:
- I am notethan on github.
- I am ethan_ (https://keybase.io/ethan_) on keybase.
- I have a public key ASDFFSljCgsbTPXlUCJ4lg-BQwk_sJkKbZhT3MkiPP20wAo
To claim this, I am signing this object:
description: "A Contact" | |
type: "object" | |
properties: | |
name: {type: "string"} | |
phone: | |
type: "array" | |
items: | |
type: "object" | |
properties: | |
location: {type: "string"} |
I hereby claim:
To claim this, I am signing this object:
# Setup | |
require 'active_record' | |
require 'arms' | |
ActiveRecord::Base.establish_connection( | |
:adapter => "sqlite3", | |
:database => "foos.sqlite3" | |
) | |
ActiveRecord::Schema.define do |
# Setup | |
require 'active_record' | |
require 'arms' | |
dbfile = "foos.sqlite3" | |
File.unlink(dbfile) if File.exist?(dbfile) | |
ActiveRecord::Base.establish_connection({ | |
:adapter => "sqlite3", | |
:database => dbfile, |
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Experimental | No | Forbidden | Permitted | ur.schema.json |
require 'jsi' | |
# db/model setup | |
require 'active_record' | |
dbpath = Pathname.new("tmp.sqlite3") | |
dbpath.unlink if dbpath.exist? | |
at_exit { dbpath.unlink } | |
ActiveRecord::Base.establish_connection( | |
:adapter => "sqlite3", |
require "nonacat" |
module Scorpio | |
module Errors | |
class HTTPError < StandardError | |
end | |
end | |
end | |
module Scorpio | |
include Errors # ⬅️ defines Scorpio::HTTPError (or does it?) | |
end |