method

run_uninstall_hook

rails latest stable - Class: Plugin

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

run_uninstall_hook()
private

No documentation available.

# File railties/lib/rails/commands/plugin.rb, line 200
    def run_uninstall_hook
      uninstall_hook_file = "#{rails_env.root}/vendor/plugins/#{name}/uninstall.rb"
      load uninstall_hook_file if File.exist? uninstall_hook_file
    end