Sha256: c46a3fb016c4aaed36a305a32d7211b93db9631d6392c7b0b2444ddbad84bcb5
Contents?: true
Size: 558 Bytes
Versions: 18
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' require 'rails/generators/migration' require 'active_record' require 'rails/generators/active_record' require 'generators/motor/migration' module Motor module Generators class InstallGenerator < Rails::Generators::Base include Rails::Generators::Migration extend Motor::Generators::Migration source_root File.expand_path('templates', __dir__) def copy_migration migration_template 'install.rb', 'db/migrate/install_motor_admin.rb' end end end end
Version data entries
18 entries across 18 versions & 1 rubygems