Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed IN function

  • Loading branch information...
commit 6aeee7fb46c5a4906dcdeebb59de334b5fc7ca7b 1 parent 41073cb
syntacticx authored
Showing with 0 additions and 13 deletions.
  1. +0 −13 src/active_record/adapters/in_memory.js
13 src/active_record/adapters/in_memory.js
View
@@ -490,19 +490,6 @@ Adapters.InMemory.method_call_handler = function method_call_handler(name,row,ar
};
Adapters.InMemory.MethodCallbacks = (function(){
var methods = {};
-
- //BUG: currently only supports "id" column
- methods['in'] = function _in(row){
- for(var i = 1; i < arguments.length; ++i)
- {
- if(row.id == arguments[i])
- {
- return true;
- }
- }
- return false;
- };
-
var math_methods = ['abs','acos','asin','atan','atan2','ceil','cos','exp','floor','log','max','min','pow','random','round','sin','sqrt','tan'];
for(var i = 0; i < math_methods.length; ++i)
{
Please sign in to comment.
Something went wrong with that request. Please try again.