2010-12-02 3 views

Antwort

1
Food.name_like_any("peanut", "banana") 
# it also accepts an array 
Food.name_like_any(["bacon", "eggs", "toast", "arugula"]) 

vom searchlogic readme

+0

Um eine CSV-String in ein Array drehen Sie tun würde ' "foo, bar, zomg" .split ('')' Dieses Plus über das ist, was Sie neeed. – jonnii