switched db dates from date to datetime formats
changed parsing in AR query to datetime cast
changed AR query format to ?
changed development db to postgres and debugged datetime comparisons