Skip to content

Trivial example on how Sinatra can work with Ruby Object Mapper.

Notifications You must be signed in to change notification settings

tomaszj/sinatra-rom-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

sinatra-rom-sample

Two trivial examples on how Sinatra can work with Ruby Object Mapper (version 0.7.0 currently):

  • Example for in-memory graph (in_memory folder)
  • Example for SQLite in-memory DB (sqlite folder)

How to run each sample

First, install needed gems by:

$ bundle install

Then, simply run the Sinatra app:

$ ruby app.rb

Then you can open localhost:4567 and go to "/", "/uber-items" and "/uber-items/1" URLs to see the functionality.

About

Trivial example on how Sinatra can work with Ruby Object Mapper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages