Sha256: 645569c4592a6c3268d9d67c4262f07afbb7bbe00f8975c5ce9984e39d616272
Contents?: true
Size: 472 Bytes
Versions: 15
Compression:
Stored size: 472 Bytes
Contents
class IndustriesProductLines < ActiveRecord::Base extend Earth::Base set_primary_key :row_hash belongs_to :industry, :foreign_key => 'naics_code' belongs_to :product_line, :foreign_key => 'ps_code' def self.schema_definition lambda do string 'row_hash' string 'naics_code' float 'ratio' string 'ps_code' float 'revenue_allocated' end end data_miner do IndustriesProductLines.define_schema(self) end end
Version data entries
15 entries across 15 versions & 1 rubygems