Class: EasyAdmin::ActiveRecordGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/easy_admin/active_record_generator.rb

Instance Method Summary collapse

Instance Method Details

#outbound_request_migrationObject



6
7
8
# File 'lib/generators/easy_admin/active_record_generator.rb', line 6

def outbound_request_migration
  copy_file "create_outbound_requests.rb", "db/migrate/#{Time.now.utc.strftime("%Y%m%d%H%M%S")}_create_outbound_requests.rb"
end