Permalink
Browse files

update for fabrication adapter with protected method klass

  • Loading branch information...
liam-onepage committed Dec 4, 2015
1 parent 3f6eca3 commit 8bf208ca814936bae734cdee890d73f2cf88037a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pickle/adapter.rb
@@ -153,7 +153,7 @@ def self.factories

def initialize(factory)
if defined? ::Fabrication
@klass, @name = factory[1].klass, factory[0].to_s
@klass, @name = factory[1].send(:klass), factory[0].to_s
end
end

0 comments on commit 8bf208c

Please sign in to comment.