Problem with forms, Date_Select and DateBocks

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

Hey Karen,

I added a enhancement request into the ticket tracker. This should be added as it's intuitive usage of almost all the helper methods in Rails.

http://dev.toolbocks.com/tickets/32

Be sweet to hear how you are using Datebocks in your app, and maybe a url too? :slight_smile:

-NSHB