1. 02 12月, 2013 1 次提交
  2. 25 11月, 2013 2 次提交
  3. 23 9月, 2013 2 次提交
  4. 07 8月, 2013 1 次提交
  5. 23 7月, 2013 2 次提交
  6. 22 7月, 2013 1 次提交
  7. 20 7月, 2013 1 次提交
  8. 28 6月, 2013 1 次提交
  9. 27 6月, 2013 1 次提交
  10. 26 6月, 2013 1 次提交
  11. 20 6月, 2013 1 次提交
  12. 07 5月, 2013 1 次提交
  13. 11 4月, 2013 1 次提交
  14. 31 3月, 2013 1 次提交
  15. 28 3月, 2013 1 次提交
    • B
      Revert grep to select since they are not the same · 1cc991be
      Brian McManus 提交于
      A previous commit swapped out a call to select for a call to grep in
      time_zone_options_for_select. This behavior actually causes the
      regexp priority option to stop working.
      
      ActiveSupport::TimeZone overrides the =~ operator which is what the
      select block was using previously. Enumerable#grep
      checks pattern === element and in this case that would be /US/ ===
      ActiveSupport::TimeZone which does not work because
      ActiveSupport::TimeZone does not supply an implicit converting to_str
      method, only an explicit to_s method.
      
      It would be impossible to provide a to_str method that behaves
      identically to the =~ method provided on ActiveSupport::TimeZone
      so the only option is to revert back to using select with =~.
      1cc991be
  16. 22 2月, 2013 2 次提交
  17. 20 2月, 2013 1 次提交
    • B
      Fix time_zone_options_for_select to not mutate TimeZones array · 5c73f0d3
      Brian McManus 提交于
      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.
      5c73f0d3
  18. 01 2月, 2013 1 次提交
  19. 27 1月, 2013 1 次提交
  20. 18 1月, 2013 1 次提交
  21. 13 1月, 2013 1 次提交
  22. 04 1月, 2013 1 次提交
  23. 14 12月, 2012 1 次提交
  24. 02 12月, 2012 1 次提交
  25. 28 11月, 2012 1 次提交
  26. 09 11月, 2012 1 次提交
  27. 30 10月, 2012 1 次提交
  28. 29 10月, 2012 3 次提交
  29. 16 8月, 2012 1 次提交
  30. 12 8月, 2012 2 次提交
  31. 03 8月, 2012 1 次提交
  32. 22 7月, 2012 1 次提交
  33. 11 7月, 2012 1 次提交