Module: RedminePluginsHelper

Defined in:
lib/redmine_plugins_helper.rb,
lib/redmine_plugins_helper/migrate.rb,
lib/redmine_plugins_helper/version.rb,
lib/redmine_plugins_helper/settings.rb,
lib/redmine_plugins_helper/migrations.rb,
lib/redmine_plugins_helper/test_config.rb,
lib/redmine_plugins_helper/test_helper.rb,
lib/redmine_plugins_helper/fix_migrations.rb,
lib/redmine_plugins_helper/hooks/add_assets.rb,
lib/redmine_plugins_helper/plugin_rake_task.rb,
lib/redmine_plugins_helper/status_migrations.rb,
lib/redmine_plugins_helper/patches/test_case_patch.rb,
lib/redmine_plugins_helper/patches/redmine/plugin_patch.rb,
lib/redmine_plugins_helper/patches/redmine/plugin_migration_context.rb

Defined Under Namespace

Modules: Hooks, Patches, TestHelper Classes: FixMigrations, Migrate, Migrations, PluginRakeTask, Settings, StatusMigrations, TestConfig

Constant Summary collapse

AUTHOR =
'Eduardo Henrique Bogoni'
SUMMARY =
'Helper for Redmine plugins'
VERSION =
'0.9.3'

Class Method Summary collapse

Class Method Details

.settings_table_exist?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/redmine_plugins_helper.rb', line 7

def settings_table_exist?
  ActiveRecord::Base.connection.table_exists? ::Setting.table_name
end