Object
# File lib/heroku/helpers/heroku_postgresql.rb, line 61 def all_databases hpg_databases end
# File lib/heroku/helpers/heroku_postgresql.rb, line 65 def database_name_from_url(url) vars = app_config_vars.reject {|key,value| key == 'DATABASE_URL'} if var = vars.invert[url] var.gsub(/_URL$/, '') else uri = URI.parse(url) "Database on #{uri.host}:#{uri.port || 5432}#{uri.path}" end end
Generated with the Darkfish Rdoc Generator 2.