Sha256: 1c4659a519a46f882d1b0923365d492b2eb16c5bb036d2599e4f1047f0070389
Contents?: true
Size: 425 Bytes
Versions: 42
Compression:
Stored size: 425 Bytes
Contents
class MerchantCategory < ActiveRecord::Base extend Earth::Base set_primary_key :mcc has_many :merchant_category_industries, :foreign_key => 'mcc' has_many :industries, :through => :merchant_category_industries def name description end def self.schema_definition lambda do string 'mcc' string 'description' end end data_miner do MerchantCategory.define_schema(self) end end
Version data entries
42 entries across 42 versions & 2 rubygems