Sha256: 6b79d84adf27f18ff2fd1de40c8fdecadaa39d7a1378edfaac8a94e1826e3ad1

Contents?: true

Size: 294 Bytes

Versions: 7

Compression:

Stored size: 294 Bytes

Contents

class Widget < ActiveRecord::Base
  acts_as_versioned :sequence_name => 'widgets_seq', :association_options => {
    :order => 'version desc' # Don't nullify the foreign key column when deleting the original record! :dependent => :nullify option removed
  }
  non_versioned_columns << 'foo'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rtiss_acts_as_versioned-0.9.3 test/fixtures/widget.rb
rtiss_acts_as_versioned-0.9.2 test/fixtures/widget.rb
rtiss_acts_as_versioned-0.9.1 test/fixtures/widget.rb
rtiss_acts_as_versioned-0.9.0 test/fixtures/widget.rb
rtiss_acts_as_versioned-0.8.3 test/fixtures/widget.rb
rtiss_acts_as_versioned-0.7.9 test/fixtures/widget.rb
rtiss_acts_as_versioned-0.7.8 test/fixtures/widget.rb