Not sure how to handle this one, if at all possible?
MySQL handles date columns as expected i.e. just 01/01/2015. However SQLite seems to want to include times as well so the same record in SQLite looks something like 01/01/2015 00:00:00.000000
So when I'm using methods such as firstOrNew, it's not able to find the record that is already there (hope that makes sense). Are there any workarounds for this? Should I be using a MySQL database for testing?
@bobbybouwmann Thanks for the reply! I'm kinda stuck with the date field (for now). I like your thinking behind your second solution, however I don't think MySQL stripes the time like you say? I've tested it out but it still doesn't seem to be finding the record that I know already exists. Am I missing something?