Class: ActiveRecordMigrations::Generators::MigrationGenerator Private

Inherits:
ActiveRecord::Generators::MigrationGenerator
  • Object
show all
Defined in:
lib/multi_ar/rake/migration_generator.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#db_migrate_pathObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/multi_ar/rake/migration_generator.rb', line 12

def db_migrate_path
  databases = MultiAR::MultiAR::databases.first[1]
end