Class: QaServer::ModelsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- QaServer::ModelsGenerator
- Defined in:
- lib/generators/qa_server/models_generator.rb
Instance Method Summary collapse
- #banner ⇒ Object
-
#copy_migrations ⇒ Object
Setup the database migrations.
Instance Method Details
#banner ⇒ Object
10 11 12 |
# File 'lib/generators/qa_server/models_generator.rb', line 10 def say_status('info', 'INSTALLING QA_SERVER MODELS AND MIGRATIONS', :blue) end |
#copy_migrations ⇒ Object
Setup the database migrations
15 16 17 18 |
# File 'lib/generators/qa_server/models_generator.rb', line 15 def copy_migrations say_status('info', ' -- installing migrations', :blue) rake 'qa_server:install:migrations' end |