I have this array:
cars = ["green", "blue", "red", "yellow"]
And I would like to conditionate with the same name field, for example:
Car.where(name: 'green', name: 'blue', name: 'red', name: 'yellow')
I am looking for a condition where I can bring all the cars with those four names
Is there a more practical way to simplify the multiple conditions query? So that it can be optimal