Class: ActiveRecord::Generators::ApplicationRecordGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
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/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