Sha256: c4c26d56a8c6f6f10d0de5c995f75002b0289b61c0d47c63c4863e4d0212d4db
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
require "rails/generators" module StrongMigrations module Generators class InstallGenerator < Rails::Generators::Base source_root File.join(__dir__, "templates") def create_initializer template "initializer.rb", "config/initializers/strong_migrations.rb" end def start_after Time.now.utc.strftime("%Y%m%d%H%M%S") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems