I use Ransack to do fairly complex searches across some models. One of these patterns contains free text and uses act_as_taggable labels to label words.
I am trying to create a collection selector of these words so that ransack can find any of the full text entries from a subset of tags that the user can define.
I am almost absent here, but if I try to choose more than one word, it will not return any results!
= f.select :note_in, @freetexts.tag_counts_on(:tags), {}, {:multiple => true}
source
share