Browse files

Make sure to reset the datastore plugin between compilation runs

  • Loading branch information...
1 parent b530bba commit 8b4d9241891c3b53fd5d6291af5bac1985e4bb79 @ribrdb ribrdb committed Sep 29, 2010
View
BIN examples/appengine/war/WEB-INF/lib/dubydatastore.jar
Binary file not shown.
View
4 examples/plugins/appengine/lib/com/google/appengine/ext/duby/db/datastore.rb
@@ -287,6 +287,10 @@ def self.from_datastore(type, value)
def self.add_property(name, type, transformer, fcall)
+ if transformer.state != @state
+ reset
+ @state = transformer.state
+ end
parent = fcall.parent
name = name.literal
type = type.name
View
BIN examples/wiki/war/WEB-INF/lib/dubydatastore.jar
Binary file not shown.

0 comments on commit 8b4d924

Please sign in to comment.