Class: Yes::Auth::Generators::Principals::UserGenerator
- Inherits:
-
BaseGenerator
- Object
- Rails::Generators::Base
- BaseGenerator
- Yes::Auth::Generators::Principals::UserGenerator
- Defined in:
- lib/yes/auth/generators/principals/user_generator.rb
Overview
Generates the migration for the user principals table
Instance Method Summary collapse
Methods inherited from BaseGenerator
#_destination, #_migration_dir, #_migration_file_name, #create, next_migration_number
Instance Method Details
#_source_template ⇒ Object
23 24 25 |
# File 'lib/yes/auth/generators/principals/user_generator.rb', line 23 def _source_template 'user.erb' end |
#_table_name ⇒ Object
19 20 21 |
# File 'lib/yes/auth/generators/principals/user_generator.rb', line 19 def _table_name Yes::Auth::Principals::User.table_name end |