Module: ActiveRecord

Defined in:
lib/activerecord_worm_table/worm_table.rb

Overview

implements a write-once-read-many table, wherein there is a currently active version of a table, one or more historical versions and a working version. modifications are made by writing new data to the working version of the table and then switching the active version to what was the working version.

each version is a separate database table, and there is a switch table with a single row which names the currently live version table in the database

Defined Under Namespace

Modules: WormTable