mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
6 lines
No EOL
206 B
Ruby
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 |