staging/lib/vcap/staging/plugin/rails3/database_support.rb
# Actually lay down a database.yml in the app's config directory.
Actually lay down a database.yml in the app's config directory.
Actually lay down a database . yml in the app ' s config directory .
def write_database_yaml(binding)
    data = database_config_for(binding)
    conf = File.join(destination_directory, 'app', 'config', 'database.yml')
    File.open(conf, 'w') do |fh|
      fh.write(YAML.dump('production' => data))
    end
    binding
  end
def write_database_yaml ( binding ) data = database_config_for ( binding ) conf = File . join ( destination_directory , 'app' , 'config' , 'database.yml' ) File . open ( conf , 'w' ) do | fh | fh . write ( YAML . dump ( 'production' => data ) ) end binding end
Actually lay down a database.yml in the app's config directory.
Actually lay down a database . yml in the app ' s config directory .
binding