Sha256: f25843492a5d0bf61748f1edfd4e7ff8878bc4954c565c5b511129e5ff9656e0

Contents?: true

Size: 333 Bytes

Versions: 8

Compression:

Stored size: 333 Bytes

Contents

require "sequel"
require "pact_broker/repositories/helpers"

module <%= model_top_module %>
  module <%= model_secondary_module %>
    class <%= model_class_name %> < Sequel::Model
      plugin :timestamps, update_on_create: true

      dataset_module do
        include PactBroker::Repositories::Helpers
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.89.1 scaffolding/templates/model.erb
pact_broker-2.89.0 scaffolding/templates/model.erb
pact_broker-2.88.0 scaffolding/templates/model.erb
pact_broker-2.87.0 scaffolding/templates/model.erb
pact_broker-2.86.0 scaffolding/templates/model.erb
pact_broker-2.85.1 scaffolding/templates/model.erb
pact_broker-2.85.0 scaffolding/templates/model.erb
pact_broker-2.84.0 scaffolding/templates/model.erb