Generator for uninstalling
ezuhaib opened this issue · comments
Zuhaib Ali commented
Is there no easy way to uninstall searchjoy?
Andrew Kane commented
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
gem "searchjoy"
-
Optional: Remove the searches table in a migration
rails g migration uninstall_searchjoy
# in migration file drop_table :searchjoy_searches
Hope this helps.
Zuhaib Ali commented
Yup... works. Thanks.