I have a table which has an array field called countries So lets say for example in this table called country_list i have the following records
Name Countries
Asia ['Malaysia, Singapore, Hong Kong]
Worldwide ['Malaysia, Singapore, Hong Kong, Croatia, USA]
Now if i want to query this table to find out which records have ['Malaysia, 'Singapore'], how do i write the query in my ruby console.
I tried to do this but it didnt work
CountryList.where("countries IN (['Malaysia', 'Singapore'])")
but it didnt work as expected.
Any help is appreciated

CountryandRegionand associate them. Life would be somewhat easier.