method

set_migration_assigns!

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Rails::Generators::Migration
set_migration_assigns!(destination) 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 39
      def set_migration_assigns!(destination)
        destination = File.expand_path(destination, destination_root)

        migration_dir = File.dirname(destination)
        @migration_number     = self.class.next_migration_number(migration_dir)
        @migration_file_name  = File.basename(destination, ".rb")
        @migration_class_name = @migration_file_name.camelize
      end
Register or log in to add new notes.