lib/term_bootstrapper.rb
# NOTE: This must be updated if you intend to pick up new fields from EolTerms
This must be updated if you intend to pick up new fields from EolTerms
This must be updated if you intend to pick up new fields from EolTerms
def create_terms
    puts "Creating #{@new_terms.size} new terms..."
    @new_terms.each do |term|
      TraitBank::Term.create(term)
    end
  end
def create_terms puts "Creating #{@new_terms.size} new terms..." @new_terms . each do | term | TraitBank :: Term . create ( term ) end end
NOTE: This must be updated if you intend to pick up new fields from EolTerms
NOTE : This must be updated if you intend to pick up new fields from EolTerms
# TODO: Someday, it would be nice to do this by writing a CSV file and reading that. Much faster. But I would prefer to # generalize the current Slurp class before attempting it.