Flowdock
method

create_migration_file

Importance_0
create_migration_file() public

No documentation

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

Hide source
# File activerecord/lib/rails/generators/active_record/model/model_generator.rb, line 15
      def create_migration_file
        return unless options[:migration] && options[:parent].nil?
        migration_template "migration.rb", "db/migrate/create_#{table_name}.rb"
      end
Register or log in to add new notes.