Sha256: dedd786324f46d3c6627277bb41dfeeec155aa90267bdae1b691e2f6fa4d3e99

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

require 'earth/fuel'
class AutomobileMakeYear < ActiveRecord::Base
  self.primary_key = "name"
  
  col :name
  col :make_name
  col :year, :type => :integer
  col :fuel_efficiency, :type => :float
  col :fuel_efficiency_units
  col :volume, :type => :integer # This will sometimes be null because not all make_years have CAFE data
end

Version data entries

10 entries across 10 versions & 1 rubygems

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