Sha256: 0be3b4c1df89f9d4782318385f116240674ed8ba284093b515a38f22cc12eeda
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
module GeorgiaMailer module Generators class InstallGenerator < ::Rails::Generators::Base def mount_engine route "mount GeorgiaMailer::Engine => '/mailer'" end def run_migrations rake "railties:install:migrations" rake "db:migrate" end def create_indices if defined? Tire say("Creating elasticsearch indices", :yellow) rake "environment tire:import CLASS=GeorgiaMailer::Message FORCE=true" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems