lib/term_bootstrapper.rb
# NOTE: this clears cache! It *must*, because there could be deltas that haven't been captured yet. BE AWARE!
this clears cache. It *must*, because there could be deltas that haven't been captured yet. BE AWARE!
this clears cache . It * must * because there could be deltas that haven ' t been captured yet . BE AWARE!
def load
    Rails.cache.clear
    check_for_case_duplicates
    reset_comparisons
    compare_with_gem
    create_terms
    update_terms
    delete_terms
    puts "Done. Terms loaded."
  end
def load Rails . cache . clear check_for_case_duplicates reset_comparisons compare_with_gem create_terms update_terms delete_terms puts "Done. Terms loaded." end
NOTE: this clears cache!
NOTE : this clears cache!
# This raises an exception if it finds any. You will have to deal with it yourself!