class Satchel::Generators::InstallGenerator
Public Instance Methods
copy_initializer()
click to toggle source
# File lib/generators/satchel/install_generator.rb, line 8 def copy_initializer template "satchel_config.rb", "config/initializers/satchel_config.rb" end
run_migrations()
click to toggle source
# File lib/generators/satchel/install_generator.rb, line 12 def run_migrations rake('satchel:install:migrations') rake('db:migrate') end