Sha256: e5e7afa1f269fafe015d508406adfe9a4ab45c72aff254e3675cff4703db6dad

Contents?: true

Size: 442 Bytes

Versions: 15

Compression:

Stored size: 442 Bytes

Contents

class ProductLine < ActiveRecord::Base
  self.primary_key = "ps_code"
  
  has_many :industry_product_lines,         :foreign_key => 'ps_code'
  
  has_many :product_line_industry_products, :foreign_key => 'ps_code'
  has_many :industry_products, :through => :product_line_industry_products
  
  col :ps_code
  col :description, :type => :text
  col :broadline # FIXME TODO do we need this?
  col :parent    # FIXME TODO do we need this?
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/industry/product_line.rb
earth-0.12.3 lib/earth/industry/product_line.rb
earth-0.12.2 lib/earth/industry/product_line.rb
earth-0.12.1 lib/earth/industry/product_line.rb
earth-0.12.0 lib/earth/industry/product_line.rb
earth-0.11.20 lib/earth/industry/product_line.rb
earth-0.11.19 lib/earth/industry/product_line.rb
earth-0.11.18 lib/earth/industry/product_line.rb
earth-0.11.17 lib/earth/industry/product_line.rb
earth-0.11.16 lib/earth/industry/product_line.rb
earth-0.11.15 lib/earth/industry/product_line.rb
earth-0.11.14 lib/earth/industry/product_line.rb
earth-0.11.13 lib/earth/industry/product_line.rb
earth-0.11.12 lib/earth/industry/product_line.rb
earth-0.11.11 lib/earth/industry/product_line.rb