With a database column migrated like this:
add_column :documents, :array_column, :string, array: true
I understand it's possible to do this to query any element of the array:
Document.where("'foo' = ANY (array_column)")
My question is whether or not I can specifically query the second (or any other single) element of an array?