- Email: ben@thoughtbot.com
- Twitter: @r00k
- Company: thoughtbot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# imports institutions from a filemaker exported xml file | |
require File.dirname(__FILE__) + '/../../config/environment' | |
require 'rubygems' | |
require 'hpricot' | |
# this establishes a mapping between column names in the | |
# exported filemaker xml and the variable names we'll be using in rails | |
COLUMN_MAP = { | |
"institution_key" => :institution_key, | |
"institution_name" => :institution_name, |