Sha256: d8a59a2590655b7402cb4125507410083d1cee5eee4435b544543d82ef4a5bba
Contents?: true
Size: 433 Bytes
Versions: 12
Compression:
Stored size: 433 Bytes
Contents
class Sic1987 < ActiveRecord::Base self.primary_key = "code" self.table_name = "sic_1987" has_many :naics_2002_sic_1987_concordances, :foreign_key => :sic_1987_code has_many :naics_2002, :through => :naics_2002_sic_1987_concordances # for data import def self.format_description(description) (desc = description.match /^(.+?) \(/) ? desc.captures.first : description end col :code col :description end
Version data entries
12 entries across 12 versions & 1 rubygems