Add ability to use datetime fields as boolean attributes to ActiveRecord models