1. 27 6月, 2013 1 次提交
  2. 26 6月, 2013 1 次提交
  3. 20 6月, 2013 1 次提交
  4. 07 5月, 2013 1 次提交
  5. 11 4月, 2013 1 次提交
  6. 31 3月, 2013 1 次提交
  7. 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
  8. 22 2月, 2013 2 次提交
  9. 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
  10. 01 2月, 2013 1 次提交
  11. 27 1月, 2013 1 次提交
  12. 18 1月, 2013 1 次提交
  13. 13 1月, 2013 1 次提交
  14. 04 1月, 2013 1 次提交
  15. 14 12月, 2012 1 次提交
  16. 02 12月, 2012 1 次提交
  17. 28 11月, 2012 1 次提交
  18. 09 11月, 2012 1 次提交
  19. 30 10月, 2012 1 次提交
  20. 29 10月, 2012 3 次提交
  21. 16 8月, 2012 1 次提交
  22. 12 8月, 2012 2 次提交
  23. 03 8月, 2012 1 次提交
  24. 22 7月, 2012 1 次提交
  25. 11 7月, 2012 1 次提交
  26. 24 5月, 2012 1 次提交
    • V
      Revert "Remove blank trailing comments" · 1ad0b378
      Vijay Dev 提交于
      This reverts commit fa6d921e.
      
      Reason: Not a fan of such massive changes. We usually close such changes
      if made to Rails master as a pull request. Following the same principle
      here and reverting.
      
      [ci skip]
      1ad0b378
  27. 20 5月, 2012 1 次提交
    • H
      Remove blank trailing comments · fa6d921e
      Henrik Hodne 提交于
      For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace
      with the first match, and voilà! Note that the regex matches a little bit too
      much, so you probably want to `git add -i .` and go through every single diff
      to check if it actually should be changed.
      fa6d921e
  28. 19 5月, 2012 1 次提交
    • C
      Clarify grouped_options_for_select method API, add changelog entry · 0e207a49
      Carlos Antonio da Silva 提交于
      Make the method API more clear by explicitly showing the expected
      arguments. This means that the options cannot be passed as second
      argument because we are not relying on extract_options! anymore,
      you are expected to give a selected key or `nil` if you want to pass
      options, as it is the last argument.
      
      Notice that this does not change the current method arguments contract
      available in 3.2, it just brings back the same functionality with the
      divider addition.
      0e207a49
  29. 17 5月, 2012 3 次提交
  30. 16 5月, 2012 1 次提交
  31. 15 5月, 2012 1 次提交
  32. 02 5月, 2012 1 次提交
  33. 14 3月, 2012 1 次提交
  34. 27 2月, 2012 1 次提交