Registry / database / supermodel

supermodel

JSON →
library0.1.6rbrubygemsunverified

SuperModel provides an in-memory database using ActiveModel, useful for testing and prototyping.

gem install supermodel
INSTALL
IMPORT
SIG · SUPERMODEL
S
supermodel
databaserubyv0.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SuperModel
require 'supermodel'

Define an in-memory model and create records.

require 'supermodel' class User < SuperModel::Base attributes :name, :email end u = User.create(name: 'Alice') User.find(u.id).name # => 'Alice'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.6latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Meta
1
OpenAI (training)
1
Resources
supermodel — gem install supermodel · libregistry