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.
Remove Searchjoy from your routes
mount Searchjoy::Engine, at: "admin/searchjoy"
Remove the gem from your Gemfile
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.