Date_select always displays current day

In my model, birthday is of type Date. The following date_select field
always displays the current day in the browser even though :birthday
has a different value. Any idea?
<%= date_select(:profile, :birthday) %>

thanks,
aj

On Nov 15, 2011, at 9:08 AM, AJ Chen wrote:

In my model, birthday is of type Date. The following date_select field
always displays the current day in the browser even though :birthday
has a different value. Any idea?
<%= date_select(:profile, :birthday) %>


try to use variables instead of symbols…

<%= date_select(‘profile’, ‘birthday’ %>

none of the examples in the API show usage of symbols

Craig

thanks. that works. -aj