Sha256: 697d42ed3a7f54265ee1bb72d103d375554db846de85d452ca83314ff89d2e6d
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true require "rails/generators/base" require "rails/generators/active_record/migration" module DelayedJobPreventDuplicate class InstallGenerator < ::Rails::Generators::Base include ActiveRecord::Generators::Migration source_root File.expand_path("../../templates", __FILE__) def copy_migration migration_template "migration.rb", File.join(db_migrate_path, "add_signature_to_delayed_job.rb") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
delayed_job_prevent_duplicate-0.2.0 | lib/generators/delayed_job_prevent_duplicate/install_generator.rb |