view lib/plugins/acts_as_versioned/test/fixtures/widget.rb @ 1157:13ab8b6e8132 redmine-2.2-integration

A couple of further html_safes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:55:45 +0000
parents 433d4f72a19b
children
line wrap: on
line source
class Widget < ActiveRecord::Base
  acts_as_versioned :sequence_name => 'widgets_seq', :association_options => {
    :dependent => :nullify, :order => 'version desc'
  }
  non_versioned_columns << 'foo'
end