I'm writing a Rails 4 app and have a string array column on one of my models called identifiers. When the user passes in a list of identifiers, what's the syntax to fetch the rows where any of the given identifiers match any of the stored identifiers?
I'm trying where('ARRAY[?] == any(identifiers)', ids), but that doesn't seem to work.
 
    