Class: Shibbolite::Generators::MigrationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Shibbolite::Generators::MigrationGenerator
- Defined in:
- lib/generators/shibbolite/migration_generator.rb
Instance Method Summary collapse
Instance Method Details
#creat_migration ⇒ Object
8 9 10 11 |
# File 'lib/generators/shibbolite/migration_generator.rb', line 8 def creat_migration generate "migration AddShibbolethAttributesTo#{Shibbolite.user_table_name} group:string" << Shibbolite.attributes.collect { |attr| " #{attr}:string" }.join end |