method

create_migration

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: Rails::Generators::Migration
create_migration(destination, data, config = {}, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/migration.rb, line 33
      def create_migration(destination, data, config = {}, &block)
        action Rails::Generators::Actions::CreateMigration.new(self, destination, block || data.to_s, config)
      end
Register or log in to add new notes.