Sha256: d037b3e155c304fde1f58da382832937bb2da5962ab261d6d7aa0eea4832add0

Contents?: true

Size: 324 Bytes

Versions: 7

Compression:

Stored size: 324 Bytes

Contents

require 'earth/locality'

class ElectricMarket < ActiveRecord::Base
  self.primary_key = "id" # string
  
  belongs_to :electric_utility, :foreign_key => 'electric_utility_eia_id'
  belongs_to :zip_code, :foreign_key => 'zip_code_name'
  
  col :id
  col :electric_utility_eia_id, :type => :integer
  col :zip_code_name
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/electricity/electric_market.rb
earth-0.12.3 lib/earth/electricity/electric_market.rb
earth-0.12.2 lib/earth/electricity/electric_market.rb
earth-0.12.1 lib/earth/electricity/electric_market.rb
earth-0.12.0 lib/earth/electricity/electric_market.rb
earth-0.11.20 lib/earth/electricity/electric_market.rb
earth-0.11.19 lib/earth/electricity/electric_market.rb