view lib/plugins/acts_as_versioned/test/fixtures/widget.rb @ 1503:523f55b47b98 cannam

Whoops, call the right method why not
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 21 Mar 2014 13:13:52 +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