foodsoft/vendor/plugins/acts_as_versioned/test/fixtures/widget.rb
2009-05-15 17:32:45 +02:00

6 lines
No EOL
206 B
Ruby

class Widget < ActiveRecord::Base
acts_as_versioned :sequence_name => 'widgets_seq', :association_options => {
:dependent => :nullify, :order => 'version desc'
}
non_versioned_columns << 'foo'
end