Sha256: 12b50bee1fd95d0ab1a78e91204ac0a7b5fc3f1fc23889d0dbd03acebd193105
Contents?: true
Size: 385 Bytes
Versions: 23
Compression:
Stored size: 385 Bytes
Contents
# coding: utf-8 # frozen_string_literal: true require "rails/generators" module Stealth module Migrations class Generator def self.migration(name, options="") generator_params = [name] + options.split(" ") Rails::Generators.invoke("active_record:migration", generator_params, destination_root: Stealth.root ) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems