Sha256: da3350580a8c96fa3fa8daf422934ef2d1c3608f4dea4833c4aa5cb90bba831c
Contents?: true
Size: 428 Bytes
Versions: 14
Compression:
Stored size: 428 Bytes
Contents
class Naics2002Sic1987Concordance < ActiveRecord::Base self.primary_key = "row_hash" belongs_to :naics_2002, :foreign_key => :naics_2002_code belongs_to :sic_1987, :foreign_key => :sic_1987_code # for data import def self.extract_note(description) (note = description.match /.+?\((.+)\)/) ? note.captures.first : nil end col :row_hash col :naics_2002_code col :sic_1987_code col :sic_note end
Version data entries
14 entries across 14 versions & 1 rubygems