Class: ActiveRecord::Generators::ApplicationRecordGenerator
- Inherits:
-
Quails::Generators::Base
- Object
- Thor::Group
- Quails::Generators::Base
- ActiveRecord::Generators::ApplicationRecordGenerator
- Defined in:
- activerecord/lib/rails/generators/active_record/application_record/application_record_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#create_application_record ⇒ Object
FIXME: Change this file to a symlink once RubyGems 2.5.0 is required.
Methods inherited from Quails::Generators::Base
base_root, class_option, default_source_root, desc, hide!, hook_for, inherited, namespace, remove_hook_for, source_root
Methods included from Quails::Generators::Actions
#add_source, #after_bundle, #capify!, #environment, #gem, #gem_group, #generate, #git, #initialize, #initializer, #lib, #quails_command, #rake, #rakefile, #readme, #route, #vendor
Instance Method Details
#create_application_record ⇒ Object
FIXME: Change this file to a symlink once RubyGems 2.5.0 is required.
11 12 13 |
# File 'activerecord/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 |