Skip to content

Commit

Permalink
Merge pull request #371 from CKing/master
Browse files Browse the repository at this point in the history
Memory adapter is now storing its data at the right point
  • Loading branch information
1602 committed Feb 4, 2014
2 parents 5a4df46 + 7cb53f3 commit fccfdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/memory.js
Expand Up @@ -28,7 +28,7 @@ Memory.prototype.connect = function(callback) {
Memory.prototype.define = function defineModel(descr) { Memory.prototype.define = function defineModel(descr) {
var m = descr.model.modelName; var m = descr.model.modelName;
this._models[m] = descr; this._models[m] = descr;
this.cache[m] = {}; this.cache[this.table(m)] = {};
this.ids[m] = 1; this.ids[m] = 1;
}; };


Expand Down

0 comments on commit fccfdf2

Please sign in to comment.