Permalink
Browse files

need to convert the write url too

  • Loading branch information...
1 parent e9a7ba1 commit 681ef991f7ebc1372ae2659813b2c78a0ce2907d @hone hone committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler_api/web.rb
@@ -28,7 +28,7 @@ def initialize(conn = nil)
Sequel.connect(db_url, :max_connections => max_conns)
end
- write_url = ENV["DATABASE_URL"]
+ write_url = BundlerApi::DatabaseUrl.url(ENV["DATABASE_URL"])
@write_conn = Sequel.connect(write_url, :max_connections => max_conns)
super()

0 comments on commit 681ef99

Please sign in to comment.