mercredi 27 avril 2016

How does where not in rails 3 works

Here is a code snippet

Wip.where(status: "P").where("reason NOT IN ?", ['DOB_MISSING'])

This does not work.

I have tried looking for it and found a lot of questions asked. Some of them have suggested this but I am not sure where I am going wrong

Aucun commentaire:

Enregistrer un commentaire