Class: Faalis::Generators::InstallAllGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/faalis/install_all_generator.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) copy_install



34
35
36
# File 'lib/generators/faalis/install_all_generator.rb', line 34

def copy_install
  invoke 'faalis:install'
end

- (Object) copy_migrations



30
31
32
# File 'lib/generators/faalis/install_all_generator.rb', line 30

def copy_migrations
  rake('faalis:install:migrations') unless options[:mongoid]
end