Class: ActiveRecord::Generators::MultiDbGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActiveRecord::Generators::MultiDbGenerator
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/rails/generators/active_record/multi_db/multi_db_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#create_multi_db ⇒ Object
10 11 12 13 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/rails/generators/active_record/multi_db/multi_db_generator.rb', line 10 def create_multi_db filename = "multi_db.rb" template filename, "config/initializers/#{filename}" end |