Sha256: a9488de54d4da5cc21c4aaf15d88b3af131e6362d5338d2f1d92edfa79313211

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

class QaServer::ModelsGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  desc """
    This generator makes the following changes to your application:
      1. Copies database migrations
       """

  def banner
    say_status('info', 'INSTALLING QA_SERVER MODELS AND MIGRATIONS', :blue)
  end

  # Setup the database migrations
  def copy_migrations
    say_status('info', '  -- installing migrations', :blue)
    rake 'qa_server:install:migrations'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qa_server-0.1.99 lib/generators/qa_server/models_generator.rb