Sha256: 91e8d2a41d88f10b40e213046f9644e600e9513a798fe22a651d55a1067c1e13

Contents?: true

Size: 224 Bytes

Versions: 6

Compression:

Stored size: 224 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def change
<%- arg_groups.each do |table, columns| -%>
  <%- columns.each do |column| -%>
    <%= to_method(table, column) %>
  <%- end -%>
<%- end -%>
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mi-0.3.0 lib/generators/mi/templates/migration.rb.erb
mi-0.2.0 lib/generators/mi/templates/migration.rb.erb
mi-0.1.0 lib/generators/mi/templates/migration.rb.erb
mi-0.0.3 lib/generators/mi/templates/migration.rb.erb
mi-0.0.2 lib/generators/mi/templates/migration.rb.erb
mi-0.0.1 lib/generators/mi/templates/migration.rb.erb