Class: MultiDbsLoadBalancer::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/multi_dbs_load_balancer/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializerObject



8
9
10
# File 'lib/rails/generators/multi_dbs_load_balancer/install_generator.rb', line 8

def create_initializer
  copy_file "initializer.rb", "config/initializers/multi_dbs_load_balancer.rb"
end