rails/rails — pull request #9330 by bdmac (2013-02-20 01:58:11+00:00)
Title: Fix time_zone_options_for_select to not mutate TimeZones array

Previous implementation of time_zone_options_for_select did not dup the
ActiveSupport::TimeZone.all array. When :priority_zones were provided
the method would reject! the zones from the memoized TimeZones array
thus affecting future requests to the server. Essentially whatever
zones were specified as :priority_zones would show up for the first
request but then disappear from the time zone options on future
requests.