Class: ActiveRecord::Generators::ApplicationRecordGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/rails/generators/active_record/application_record/application_record_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create_application_recordObject

FIXME: Change this file to a symlink once RubyGems 2.5.0 is required.



11
12
13
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/rails/generators/active_record/application_record/application_record_generator.rb', line 11

def create_application_record
  template "application_record.rb", application_record_file_name
end