Permalink
Browse files

Remove obsolete connector

  • Loading branch information...
avsej committed Apr 3, 2012
1 parent aab0aff commit 3d64c508a4518204c2d02e6c9abae9c04c29a59d
Showing with 0 additions and 20 deletions.
  1. +0 −20 app/models/couch.rb
View
@@ -1,20 +0,0 @@
-module Couch
-
- class << self
-
- def domain
- return "http://#{ENV['COUCHBASE_DOMAIN']}" if ENV['COUCHBASE_DOMAIN']
- case Rails.env.to_s
- when "production" then "http://localhost"
- when "test" then "http://localhost"
- when "development" then "http://localhost"
- end
- end
-
- def client
- @client ||= Couchbase.new "#{domain}:8091/pools/default", :quiet => false
- end
-
- end
-
-end

0 comments on commit 3d64c50

Please sign in to comment.