lib/language_pack/helpers/rails_runner.rb
def detect(config_string)
    config = RailsConfig.new(config_string, self, debug: @debug)
    @command_array << config.to_command
    config
  end
# This class is used to help pull configuration values
# from a rails application. It takes in a configuration key
# and a reference to the parent RailsRunner object which
# allows it obtain the `rails runner` output and success
# status of the operation.
#
# For example:
#
#    config = RailsConfig.new("active_storage.service", rails_runner)
#    config.to_command # => "puts %Q{heroku.detecting.config.for.active_storage.service=Rails.application.config.try(:active_storage).try(:service)}; "
#
This class is used to help pull configuration values
from a rails application. It takes in a configuration key
and a reference to the parent RailsRunner object which
allows it obtain the `rails runner` output and success
status of the operation.

For example.


This class is used to help pull configuration values from a rails application . It takes in a configuration key and a reference to the parent RailsRunner object which allows it obtain the ` rails runner ` output and success status of the operation . For example .
def detect(config_string)
    config = RailsConfig.new(config_string, self, debug: @debug)
    @command_array << config.to_command
    config
  end
def detect ( config_string ) config = RailsConfig . new ( config_string , self , debug : @debug ) @command_array << config . to_command config end
This class is used to help pull configuration values
from a rails application.
This class is used to help pull configuration values from a rails application .
config_string