Permalink
Browse files

Merge pull request #371 from CKing/master

Memory adapter is now storing its data at the right point
  • Loading branch information...
2 parents 5a4df46 + 7cb53f3 commit fccfdf2804594317316174994bd0738155d70c69 @1602 committed Feb 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/memory.js
View
@@ -28,7 +28,7 @@ Memory.prototype.connect = function(callback) {
Memory.prototype.define = function defineModel(descr) {
var m = descr.model.modelName;
this._models[m] = descr;
- this.cache[m] = {};
+ this.cache[this.table(m)] = {};
this.ids[m] = 1;
};

0 comments on commit fccfdf2

Please sign in to comment.