lisimba/Ext.data.WebSqlProxy — Issue #3: removeRecord parameter is wrong
Author: moneypenny
Created: 2012-02-28 19:20:14+00:00
State: open

The `removeRecord` function says it takes an ID as a parameter, but using Chrome's debugger and Sencha Touch 1.1.1, what actually gets passed is the record itself (an instance of `Ext.data.Model`). I made the following changes:

```javascript
removeRecord: function(record) {

var me = this;
var id = record.internalId || record[me.pkField] || record.data[me.pkField];
```