create_model_file() public

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 26
      def create_model_file
        generate_abstract_class if database && !parent
        template "model.rb", File.join("app/models", class_path, "#{file_name}.rb")
      end
Register or log in to add new notes.