Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes issue with hash ordering on 1.8 rubies

  • Loading branch information...
commit eaa893c10c26717f93b491346d855970e701f119 1 parent 68c124a
@alindeman alindeman authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/zonebie.rb
View
6 lib/zonebie.rb
@@ -6,7 +6,11 @@ class << self
def backend
unless @backend
- @backend = @backends.values.detect(&:usable?)
+ @backend = if @backends[:activesupport].usable?
+ @backends[:activesupport]
+ else
+ @backends.values.detect(&:usable?)
+ end
end
@backend
Please sign in to comment.
Something went wrong with that request. Please try again.