Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Memory adapter is now storing its data at the right point #371

Merged
merged 1 commit into from

2 participants

@CKing

Fixes #370

the cache database got initialized wrong in the data adapter.

@1602 1602 merged commit fccfdf2 into 1602:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 4, 2014
  1. Memory adapter is now storing its data at the right point

    Christopher König authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/adapters/memory.js
View
2  lib/adapters/memory.js
@@ -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;
};
Something went wrong with that request. Please try again.