Class: ActiveRecordMigrations::Generators::MigrationGenerator Private
- Inherits:
-
ActiveRecord::Generators::MigrationGenerator
- Object
- ActiveRecord::Generators::MigrationGenerator
- ActiveRecordMigrations::Generators::MigrationGenerator
- Defined in:
- lib/multi_ar/rake/migration_generator.rb
Overview
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.
Overridden from Active Record to have custom migration path.
Instance Method Summary collapse
-
#db_migrate_path ⇒ Object
private
Overridden from Active Record to have custom migration path.
Instance Method Details
#db_migrate_path ⇒ Object
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.
Overridden from Active Record to have custom migration path.
19 20 21 22 |
# File 'lib/multi_ar/rake/migration_generator.rb', line 19 def db_migrate_path database_name = MultiAR::MultiAR::databases.first[0] MultiAR::MultiAR::solve_migration_path database_name end |