I'm a little stuck here (mongoid docs don't seem to give an answer)
Question.where(:text.contains=>"perfect")
I would like to find questions whose text box contains the given word, in this case perfect.
What is the correct query here and how can the performance of such queries be improved?
source share