Fix the stupid previous commit

This commit is contained in:
Santiago Pastorino 2013-10-24 19:15:13 -02:00
parent b44e1af5dd
commit 439643ba5a

View File

@ -9,6 +9,8 @@ module ActiveModel
class Serializer
include Serializable
@mutex = Mutex.new
class << self
def inherited(base)
base._attributes = []
@ -16,7 +18,7 @@ module ActiveModel
end
def setup
Mutex.new.synchronize do
@mutex.synchronize do
yield CONFIG
end
end