Sha256: 82676b47d34cc49272cb664adda7cd0f2b480e23577db685ca6a433329bce084
Contents?: true
Size: 368 Bytes
Versions: 15
Compression:
Stored size: 368 Bytes
Contents
class IndustriesSectors < ActiveRecord::Base extend Earth::Base belongs_to :industry, :foreign_key => 'naics_code' belongs_to :sector, :foreign_key => 'io_code' def self.schema_definition lambda do string 'naics_code' float 'ratio' string 'io_code' end end data_miner do IndustriesSectors.define_schema(self) end end
Version data entries
15 entries across 15 versions & 1 rubygems