At the moment, DateBocks only accepts strings as a Model name.
So in the instance where you have...
<%=datebocks_field(:query, :start_date) %>
Try using
<%=datebocks_field('query', 'start_date') %>
If Query is the variable containing your model, and start_date is the column.
-NSHB