An open API service indexing awesome lists of open source software.

https://github.com/jim/scribe

ActiveRecord plugin to provide model attribute diffs and change tracking
https://github.com/jim/scribe

Last synced: about 1 year ago
JSON representation

ActiveRecord plugin to provide model attribute diffs and change tracking

Awesome Lists containing this project

README

          

Scribe
======

Introduction goes here.

Database Requirements
======

You'll need a migration to create a table to store changes in:

create_table :changes, :force => true do |t|
t.integer :model_id
t.string :model_type, :limit => 20
t.text :diff
t.datetime :created_at
end
add_index :changes, [ :model_id, :model_type ]

You may want to add other indexes depending on your application.

Example
=======

Example goes here.

Copyright (c) 2008 James Benton, released under the MIT license