Flowdock
method

generate_abstract_class

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveRecord::Generators::ModelGenerator
generate_abstract_class() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/rails/generators/active_record/model/model_generator.rb, line 61
        def generate_abstract_class
          path = File.join("app/models", "#{database.underscore}_record.rb")
          return if File.exist?(path)

          template "abstract_base_class.rb", path
        end
Register or log in to add new notes.