Sha256: 754608cab98a7d4e9b7f60d9b9a9b1d8b5392f80065db40c98e2eff96b1df4a8
Contents?: true
Size: 247 Bytes
Versions: 14
Compression:
Stored size: 247 Bytes
Contents
config_path = File.join(Rails.root,'config','geodatabase.yml') db_conf = File.exist?(config_path) ? YAML::load(File.open(config_path)) : {} GEODB = db_conf[Rails.env] puts "Warning: No geodb configuration found in #{config_path}" if GEODB.nil?
Version data entries
14 entries across 14 versions & 1 rubygems