Class: Propel::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Propel::InstallGenerator
- Defined in:
- lib/generators/propel/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install_propel_components ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/generators/propel/install_generator.rb', line 73 def install_propel_components components = determine_components_to_install validate_component_availability(components) say "Installing Propel components: #{components.join(', ')}", :green install_components(components) run_migrations unless [:skip_migrations] # copy_api_explorer if components.include?(:api) # TODO: Re-enable for future release when API Explorer is ready end |