Parent

Methods

RedmineActsAsTaggableOn::Migration

Public Instance Methods

down() click to toggle source
# File lib/redmine_acts_as_taggable_on/migration.rb, line 17
def down
  enforce_declarations!

  if ok_to_go_down?
    super
  else
    say 'Not dropping "tags" and "taggings" because they\re still needed by'
    say 'the following plugins:'
    plugins_still_using_tables.each { |p| say p.id, true }
  end
end
up() click to toggle source
# File lib/redmine_acts_as_taggable_on/migration.rb, line 6
def up
  enforce_declarations!
  check_for_old_style_plugins

  if ok_to_go_up?
    super
  else
    say 'Not creating "tags" and "taggings" because they already exist'
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.