Class: Bankai::Generators::DbOptimizationsGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/bankai/generators/db_optimizations_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Base

default_source_root

Instance Method Details

#configure_bulletObject



9
10
11
12
13
14
15
16
# File 'lib/bankai/generators/db_optimizations_generator.rb', line 9

def configure_bullet
  inject_into_file(
    'config/environments/development.rb',
    configuration,
    after: 'config.file_watcher = ' \
           "ActiveSupport::EventedFileUpdateChecker\n"
  )
end