search for: eval_filters

Displaying 1 result from an estimated 1 matches for "eval_filters".

2010 Sep 23
6
Named scope in named scope ??
Hi, I would like to return a combination of named scopes in a named scope : For example, I have a named scope filter and I want to add a named scope eval_filters like Product.eval_filters([''x'',''y'',''z'']) is equivalent to Product.filter(''x'').filter(''y'').filter(''z'') Anybody know how can I define the named_scope eval_filters to do that ? Thanks adrie...