Sha256: b7e9465ea9aed9a9b02c1a7503a1d569129e82340b1a54f391929c575d7af733

Contents?: true

Size: 342 Bytes

Versions: 10

Compression:

Stored size: 342 Bytes

Contents

require 'earth/fuel'
class AutomobileMakeModel < ActiveRecord::Base
  self.primary_key = "name"
  
  col :name # make + model
  col :make_name
  col :model_name # model only
  col :fuel_efficiency_city, :type => :float
  col :fuel_efficiency_city_units
  col :fuel_efficiency_highway, :type => :float
  col :fuel_efficiency_highway_units
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
earth-0.11.20 lib/earth/automobile/automobile_make_model.rb
earth-0.11.19 lib/earth/automobile/automobile_make_model.rb
earth-0.11.18 lib/earth/automobile/automobile_make_model.rb
earth-0.11.17 lib/earth/automobile/automobile_make_model.rb
earth-0.11.16 lib/earth/automobile/automobile_make_model.rb
earth-0.11.15 lib/earth/automobile/automobile_make_model.rb
earth-0.11.14 lib/earth/automobile/automobile_make_model.rb
earth-0.11.13 lib/earth/automobile/automobile_make_model.rb
earth-0.11.12 lib/earth/automobile/automobile_make_model.rb
earth-0.11.11 lib/earth/automobile/automobile_make_model.rb