From 6aeee7fb46c5a4906dcdeebb59de334b5fc7ca7b Mon Sep 17 00:00:00 2001 From: syntacticx Date: Thu, 12 Feb 2009 14:16:10 -0800 Subject: [PATCH] removed IN function --- src/active_record/adapters/in_memory.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/active_record/adapters/in_memory.js b/src/active_record/adapters/in_memory.js index 797f5e6..7972a69 100644 --- a/src/active_record/adapters/in_memory.js +++ b/src/active_record/adapters/in_memory.js @@ -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) {