CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Mon, 04 Aug 2025 18:17:31 GMT
content-type: text/html; charset=utf-8
content-length: 102
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Tue, 23 Feb 2010 05:34:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20100223053440/https://github.com/maccman/supermodel
x-archive-orig-x-runtime: 5ms
x-archive-orig-content-length: 102
x-archive-orig-cache-control: no-cache
cache-control: max-age=1800
accept-ranges: bytes
memento-datetime: Tue, 23 Feb 2010 05:34:40 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 22 Feb 2010 03:22:03 GMT", ; rel="prev memento"; datetime="Mon, 22 Feb 2010 03:22:03 GMT", ; rel="memento"; datetime="Tue, 23 Feb 2010 05:34:40 GMT", ; rel="next memento"; datetime="Sat, 22 May 2010 05:37:07 GMT", ; rel="last memento"; datetime="Sat, 22 May 2010 05:37:07 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_14_20100223042817_crawl100-c/52_14_20100223053408_crawl101.arc.gz
server-timing: captures_list;dur=0.871375, exclusion.robots;dur=0.035008, exclusion.robots.policy;dur=0.015903, esindex;dur=0.013392, cdx.remote;dur=86.515972, LoadShardBlock;dur=327.052662, PetaboxLoader3.datanode;dur=155.070974, PetaboxLoader3.resolve;dur=675.728804, load_resource;dur=660.087466
x-app-server: wwwb-app219
x-ts: 301
x-tr: 1166
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app219; path=/
cache-control: private
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 04 Aug 2025 18:17:32 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Tue, 23 Feb 2010 05:34:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "9d0b3189e0457bc6e0c0cc9b366f7efa"
x-archive-orig-x-runtime: 80ms
x-archive-orig-content-length: 22425
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 23 Feb 2010 05:34:40 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 20 Feb 2010 15:49:46 GMT", ; rel="prev memento"; datetime="Mon, 22 Feb 2010 03:22:03 GMT", ; rel="memento"; datetime="Tue, 23 Feb 2010 05:34:40 GMT", ; rel="next memento"; datetime="Thu, 06 May 2010 21:37:02 GMT", ; rel="last memento"; datetime="Fri, 30 May 2025 21:55:10 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_14_20100223042817_crawl100-c/52_14_20100223053408_crawl101.arc.gz
server-timing: captures_list;dur=0.459848, exclusion.robots;dur=0.015333, exclusion.robots.policy;dur=0.008112, esindex;dur=0.011209, cdx.remote;dur=20.008367, LoadShardBlock;dur=339.948850, PetaboxLoader3.datanode;dur=232.096894, PetaboxLoader3.resolve;dur=1123.436285, load_resource;dur=1123.590847
x-app-server: wwwb-app219
x-ts: 200
x-tr: 1543
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
maccman's supermodel at master - GitHub
This service is courtesy of Pledgie.
maccman / supermodel
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (0)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Ruby in-memory models — Read more
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Sat Feb 06 11:31:30 -0800 2010 | Add Redis support [maccman] |
![]() |
README | Sat Feb 06 11:33:36 -0800 2010 | Redis copy [maccman] |
![]() |
Rakefile | Wed Feb 10 07:32:35 -0800 2010 | make activemodel version explicit [maccman] |
![]() |
VERSION | Fri Feb 19 17:42:01 -0800 2010 | bump version [maccman] |
![]() |
lib/ | Fri Feb 12 09:31:32 -0800 2010 | add attribute timestamps [maccman] |
![]() |
supermodel.gemspec | Fri Feb 19 17:42:01 -0800 2010 | bump version [maccman] |
README
Simple in-memory database using ActiveModel. Primarily developed for Bowline applications. https://github.com/maccman/bowline Supports: * Serialisation * Validations * Callbacks * Observers * Dirty (Changes) * Ruby Marshalling to disk * Redis Examples: require "supermodel" class Test < SuperModel::Base end t = Test.new t.name = "foo" t.save #=> true Test.all Test.first Test.last Test.find_by_name('foo) You can use a random ID rather than the object ID: class Test < SuperModel::Base include SuperModel::RandomID end t = Test.create(:name => "test") t.id #=> "7ee935377bb4aecc54ad4f9126" You can marshal objects to disk on startup/shutdown class Test < SuperModel::Base include SuperModel::Marshal::Model end SuperModel::Marshal.path = "dump.db" SuperModel::Marshal.load at_exit { SuperModel::Marshal.dump } You can use Redis, you need the Redis gem installed: require "redis" class Test < SuperModel::Redis attributes :name indexes :name end Test.find_or_create_by_name("foo")