Sha256: a8d2817d7149ca81d0a890e95a294dc12d67f1afb4006b7d82cc7d4fa1d39797
Contents?: true
Size: 557 Bytes
Versions: 11
Compression:
Stored size: 557 Bytes
Contents
class MerchantCategoriesIndustries < ActiveRecord::Base set_primary_key :row_hash belongs_to :merchant_category, :foreign_key => 'mcc' belongs_to :industry, :foreign_key => 'naics_code' has_many :industries_product_lines, :through => :industry, :class_name => 'IndustriesProductLines' has_many :industries_sectors, :through => :industry, :class_name => 'IndustriesSectors' data_miner do schema Earth.database_options do string 'row_hash' string 'mcc' float 'ratio' string 'naics_code' end end end
Version data entries
11 entries across 11 versions & 1 rubygems