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

#copy_installObject



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

def copy_install
  invoke 'faalis:install'
end

#copy_migrationsObject



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

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