Permalink
Browse files

fix reserialization of dm object

  • Loading branch information...
1 parent 2a63109 commit 188f6456864db3823c468589ae198fed2e146e30 @lanej lanej committed Jun 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/delayed/serialization/data_mapper.rb
@@ -2,7 +2,7 @@
yaml_as "tag:ruby.yaml.org,2002:DataMapper"
def self.yaml_new(klass, tag, val)
- klass.find(val['id'])
+ klass.get!(val['id'])
end
def to_yaml_properties

0 comments on commit 188f645

Please sign in to comment.