lib/trait_bank/admin.rb
# Your gun, your foot: USE CAUTION. This erases (almost) EVERYTHING irrevocably.
Your gun, your foot: USE CAUTION. This erases (almost) EVERYTHING irrevocably.
Your gun your foot : USE CAUTION . This erases ( almost ) EVERYTHING irrevocably .
def remove_all_data_leave_terms!
        remove_with_query(name: :meta, q: "(meta:MetaData)")
        remove_with_query(name: :trait, q: "(trait:Trait)")
        remove_with_query(name: :page, q: "(page:Page)")
        remove_with_query(name: :res, q: "(res:Resource)")
        Rails.cache.clear 
      end
def remove_all_data_leave_terms! remove_with_query ( name : :meta , q : "(meta:MetaData)" ) remove_with_query ( name : :trait , q : "(trait:Trait)" ) remove_with_query ( name : :page , q : "(page:Page)" ) remove_with_query ( name : :res , q : "(res:Resource)" ) Rails . cache . clear end
Your gun, your foot: USE CAUTION.
Your gun your foot : USE CAUTION .
# Sorry, this is easiest. :|