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