2007-03-10 18:09:49 +03:00
|
|
|
class Widget < ActiveRecord::Base
|
|
|
|
acts_as_versioned :sequence_name => 'widgets_seq', :association_options => {
|
2008-07-04 21:58:14 +04:00
|
|
|
:dependent => :nullify, :order => 'version desc'
|
2007-03-10 18:09:49 +03:00
|
|
|
}
|
|
|
|
non_versioned_columns << 'foo'
|
|
|
|
end
|