Updated ruby
Removed _date handling for now. Need to work out how to CAST to timestamp