Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

Fingertips-revision-san

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Fingertips-revision-san

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Revision-San

A simple Rails plugin which creates revisions of your model and comes with an equally simple HTML differ.

== Install

  • As a gem: $ sudo gem install Fingertips-revision_san -s http://gems.github.com

  • Vendor: $ cd vendor/plugins && git clone git@github.com:Fingertips/revision_san.git

== Usage

Include the RevisionSan module into the model for which you'd like to keep revisions.

class Artist < ActiveRecord::Base include RevisionSan end

And create a migration to add the columns needed by Revision-San to your model:

add_column :artists, :revision, :default => 1 add_column :artists, :revision_parent_id, :default => nil

add_index :artists, :revision_parent_id

Copyright © 2008 Fingertips, Eloy Duran eloy@fngtps.com, released under the MIT license

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc