Permalink
Browse files

Update memory.js

fixes #376
  • Loading branch information...
1 parent a991a08 commit 7ccaeeccecbc0b21eb3a97b6e1382d2d9a3aade2 @pocesar pocesar committed Feb 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/memory.js
@@ -96,7 +96,7 @@ Memory.prototype.fromDb = function(model, data) {
val = new Date(val.toString().replace(/GMT.*$/, 'GMT'));
break;
case 'Boolean':
- val = new Boolean(val);
+ val = Boolean(val);
break;
}
}

0 comments on commit 7ccaeec

Please sign in to comment.