view .svn/pristine/70/706a81236a3578317d828beb9423327b5b69e98d.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents cbb26bc654de
children
line wrap: on
line source
class <%= class_name %> < ActiveRecord::Migration
  def self.up
  <%- plugins.each do |plugin| -%>
    Engines.plugins["<%= plugin.name %>"].migrate(<%= new_versions[plugin.name] %>)
  <%- end -%>
  end

  def self.down
  <%- plugins.each do |plugin| -%>
    Engines.plugins["<%= plugin.name %>"].migrate(<%= current_versions[plugin.name] %>)
  <%- end -%>
  end
end