ankane / searchjoy

Search analytics made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generator for uninstalling

ezuhaib opened this issue · comments

Is there no easy way to uninstall searchjoy?

Hey Zuhaib, it's pretty easy to uninstall Searchjoy.

  1. Remove Searchjoy from your routes

    mount Searchjoy::Engine, at: "admin/searchjoy"
  2. Remove the gem from your Gemfile

gem "searchjoy"
  1. Optional: Remove the searches table in a migration

    rails g migration uninstall_searchjoy
    # in migration file
    drop_table :searchjoy_searches

Hope this helps.

Yup... works. Thanks.

ezoic increase your site revenue