method

application_record_exist?

rails latest stable - Class: ActiveRecord::Generators::ModelGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

application_record_exist?()
private

No documentation available.

# File activerecord/lib/rails/generators/active_record/model/model_generator.rb, line 54
        def application_record_exist?
          file_exist = nil
          in_root { file_exist = File.exist?(application_record_file_name) }
          file_exist
        end