set specific date with date_select

Luca Scaljery wrote:

Hi All

I seem to have a problem with date_select methods. I cannot set a default date. I tried the following:

<%= date_select( "post", "written_on", :selected =>,3,31), :order => [:day, :month, :year] ) %>

But still I get todays date :frowning:

Any suggestions what I do wrong here ?

Thnx a lot LuCa

-- Posted via

I think this may be a bug.