Sha256: 61fd02fdfb8d5f3eb90d84b8ae7b7637c7568ad9ae24ef1874afad19bbba0902

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

require 'earth/model'

class AutomobileModel < ActiveRecord::Base
  extend Earth::Model

  TABLE_STRUCTURE = <<-EOS

CREATE TABLE automobile_models
  (
     name CHARACTER VARYING(255) NOT NULL PRIMARY KEY
  );

EOS

  self.primary_key = "name"
  
  warn_unless_size 2299
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-1.2.1 lib/earth/automobile/automobile_model.rb
earth-1.1.2 lib/earth/automobile/automobile_model.rb
earth-1.1.1 lib/earth/automobile/automobile_model.rb
earth-1.1.0 lib/earth/automobile/automobile_model.rb
earth-1.0.3 lib/earth/automobile/automobile_model.rb
earth-1.0.2 lib/earth/automobile/automobile_model.rb
earth-1.0.1 lib/earth/automobile/automobile_model.rb