method

devcontainer_db_service_yaml

rails latest stable - Class: Rails::Generators::DevcontainerGenerator

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

devcontainer_db_service_yaml(**options)
private

No documentation available.

# File railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb, line 136
        def devcontainer_db_service_yaml(**options)
          return unless service = database.service

          { database.name => service }.to_yaml(**options)[4..-1]
        end