Sha256: 1f107f45fcc77d4ab88d3a767b1f08d9a90d43d8adf884f15415298fb4f40766

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

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 :weighting, :type => :float # for calculating AutomobileMake fuel efficiences
  
  warn_unless_size 1276
  warn_if_any_nulls
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/automobile/automobile_make_year.rb
earth-0.12.3 lib/earth/automobile/automobile_make_year.rb
earth-0.12.2 lib/earth/automobile/automobile_make_year.rb
earth-0.12.1 lib/earth/automobile/automobile_make_year.rb
earth-0.12.0 lib/earth/automobile/automobile_make_year.rb