Sha256: 09db11434222805985dd2d06aacb665100cd3e541f097365a2da46b35e348cc0

Contents?: true

Size: 349 Bytes

Versions: 11

Compression:

Stored size: 349 Bytes

Contents

class ProductLinesSectors < ActiveRecord::Base
  set_primary_key :row_hash
  
  belongs_to :product_line, :foreign_key => 'ps_code'
  belongs_to :sector,       :foreign_key => 'io_code'

  data_miner do
    schema Earth.database_options do
      string 'row_hash'
      string 'ps_code'
      float  'ratio'
      string 'io_code'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
earth-0.0.30 lib/earth/industry/product_lines_sectors.rb
earth-0.0.29 lib/earth/industry/product_lines_sectors.rb
earth-0.0.28 lib/earth/industry/product_lines_sectors.rb
earth-0.0.27 lib/earth/industry/product_lines_sectors.rb
earth-0.0.26 lib/earth/industry/product_lines_sectors.rb
earth-0.0.24 lib/earth/industry/product_lines_sectors.rb
earth-0.0.23 lib/earth/industry/product_lines_sectors.rb
earth-0.0.22 lib/earth/industry/product_lines_sectors.rb
earth-0.0.21 lib/earth/industry/product_lines_sectors.rb
earth-0.0.20 lib/earth/industry/product_lines_sectors.rb
earth-0.0.19 lib/earth/industry/product_lines_sectors.rb