lib/pickle/adapter.rb in pickle-0.5.2 vs lib/pickle/adapter.rb in pickle-0.5.3

- old
+ new

@@ -151,10 +151,10 @@ end end 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 def create(attrs = {}) if defined? ::Fabrication