Hi, I have this in my view, <%= date_select(''Case'', ''date_from'', :end_year => 1990, :start_year =>Date.today.year, :discard_day => true, :include_blank => true, :order => [:month, :year])%> if only month is chosen and not year, then i have problems reloading it. Lets say i chose July as month and leave year empty. When I render the new again (say for an active record error), year will be 2007 (please note that 7 is taken from july . I it take 2005 for May) and month is shown as January. Any idea how to solve this? Regards. Sandeep G -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---