Class: UnavailableDateGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- UnavailableDateGenerator
- Defined in:
- lib/generators/unavailable_date_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_migration ⇒ Object
11 12 13 |
# File 'lib/generators/unavailable_date_generator.rb', line 11 def generate_migration migration_template 'migration.rb', 'db/migrate/create_unavailable_dates.rb' end |