Class: Badgeable::Generators::MigrationsGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::Base
- Base
- Badgeable::Generators::MigrationsGenerator
- Extended by:
- ActiveRecord::Generators::Migration
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/badgeable_active_record/generators/migrations/migrations_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate_badges_migration ⇒ Object
10 11 12 |
# File 'lib/badgeable_active_record/generators/migrations/migrations_generator.rb', line 10 def generate_badges_migration migration_template "badge_migration.rb", "db/migrate/create_badges.rb" end |
#generate_badgings_migration ⇒ Object
14 15 16 |
# File 'lib/badgeable_active_record/generators/migrations/migrations_generator.rb', line 14 def generate_badgings_migration migration_template "badging_migration.rb", "db/migrate/create_badgings.rb" end |