This project is archived and is in readonly mode.

#6627 new
S.D.Eagle

Server hanging when using extreme values for date_select :start_year

Reported by S.D.Eagle | March 26th, 2011 @ 05:58 PM

Did just accidently something like that:

<%= f.date_select :birthday, :start_year => Date.today.year - 100.years , :default => {:year => 1999} %>

the fault is the 100.years, it should be just 100...

but as i tried this out (on mongrel and Webrick) first the application stoped responding and after waiting a minute or so my total ubuntu froze... some kind of exception would be a lot better :-D

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

People watching this ticket

Pages