From 267eadb04d33549f709d361d06d8ef6cd6f37426 Mon Sep 17 00:00:00 2001 From: Lester Celestial Date: Mon, 18 Mar 2013 23:25:06 -0400 Subject: [PATCH] added empostgresql --- lib/with_advisory_lock/concern.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/with_advisory_lock/concern.rb b/lib/with_advisory_lock/concern.rb index ad517f1..0d68983 100644 --- a/lib/with_advisory_lock/concern.rb +++ b/lib/with_advisory_lock/concern.rb @@ -21,7 +21,7 @@ module ClassMethods def with_advisory_lock(lock_name, timeout_seconds=nil, &block) impl_class = case (connection.adapter_name.downcase) - when "postgresql" + when "postgresql", "empostgresql" WithAdvisoryLock::PostgreSQL when "mysql", "mysql2" WithAdvisoryLock::MySQL