Sha256: 06ad1264ddae8f94734c2137a8a507ac2e233a1555ea81a8fd0e2bc8933b3c33

Contents?: true

Size: 190 Bytes

Versions: 25

Compression:

Stored size: 190 Bytes

Contents

module Ddr::Models
  module AutoVersion

    def self.extended(base)
      base.include Versionable

      base.class_eval do
        after_save :create_version
      end
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ddr-models-3.0.0.beta.12 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.11 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.10 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.9 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.8 lib/ddr/models/auto_version.rb