Registry / database / ohm
library3.1.1rbrubygemsunverified

Ohm is a library that allows storing objects in Redis, a persistent key-value database, with good performance.

gem install ohm
INSTALL
IMPORT
SIG · OHM
O
ohm
databaserubyv3.1.1
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.

Ohm
require 'ohm'

Defines a model and creates a record in Redis.

require "ohm" class Post < Ohm::Model attribute :title attribute :body end post = Post.create(title: "Hello", body: "World") puts post.id
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
ohm — gem install ohm · libregistry