Class: Noid::Rails::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/noid/rails/install_generator.rb

Overview

Generates the migrations into the host application

Instance Method Summary collapse

Instance Method Details



13
14
15
# File 'lib/generators/noid/rails/install_generator.rb', line 13

def banner
  say_status('info', 'Installing noid-rails', :blue)
end

#migrationsObject



17
18
19
# File 'lib/generators/noid/rails/install_generator.rb', line 17

def migrations
  rake 'noid_rails_engine:install:migrations'
end