Sha256: e4a2b47076cda91e71268ece75a842b350e7e8678ee9fb95436a01278e34707e
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 Bytes
Contents
require 'rails/generators/active_record' module ActiveRecord module Generators class TwoFactorAuthenticationGenerator < ActiveRecord::Generators::Base source_root File.expand_path("../templates", __FILE__) def copy_two_factor_authentication_migration migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems