lib/eol.rb
# NOTE: this assumes the tables are empty. If not, Solr will take a while...
this assumes the tables are empty. If not, Solr will take a while
this assumes the tables are empty . If not Solr will take a while
def forget_everything
      Rails.cache.clear
      ClassVariableHelper.clear_class_variables
      EOL::Solr.rebuild_all
      EOL::Sparql::VirtuosoClient.drop_all_graphs
    end
def forget_everything Rails . cache . clear ClassVariableHelper . clear_class_variables EOL :: Solr . rebuild_all EOL :: Sparql :: VirtuosoClient . drop_all_graphs end
NOTE: this assumes the tables are empty.
NOTE : this assumes the tables are empty .