From ef25da992c2d65488f6815478d7f6b14f34a4370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 16 Jan 2010 14:32:52 +0100 Subject: [PATCH] Use an OrderedHash to fix problems with test suite working in some machines but no in others. --- lib/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devise.rb b/lib/devise.rb index 1c22351f..df02255f 100644 --- a/lib/devise.rb +++ b/lib/devise.rb @@ -87,7 +87,7 @@ module Devise # Store scopes mappings. mattr_accessor :mappings - @@mappings = {} + @@mappings = ActiveSupport::OrderedHash.new # Stores the chosen ORM. mattr_accessor :orm