Sha256: bf1e65e8638685741fa2a2b5fe0c0b97ac485aa0564432b5ffadef14ee71a291
Contents?: true
Size: 424 Bytes
Versions: 14
Compression:
Stored size: 424 Bytes
Contents
require 'rails/generators/active_record' module ActiveRecord module Generators class AgilibTokenGenerator < ActiveRecord::Generators::Base source_root File.expand_path("../templates", __FILE__) def copy_agilib_migration if (behavior == :invoke) migration_template "token_authenticatable.rb", "db/migrate/add_agilib_token_authenticatable_to_users" end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems