1. 03 4月, 2013 2 次提交
  2. 02 4月, 2013 1 次提交
  3. 01 4月, 2013 1 次提交
  4. 31 3月, 2013 2 次提交
  5. 29 3月, 2013 1 次提交
  6. 28 3月, 2013 4 次提交
    • A
      Refactored to remove unused variable · d18e8b1a
      Anupam Choudhury 提交于
      d18e8b1a
    • B
      Add regression test for TZ grep · 53d68bd9
      Brian McManus 提交于
      Added a regression test that will fail if anyone tries to change
      time_zone_select to use grep again thinking it will work when it does
      not.
      53d68bd9
    • 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
    • C
      Provides standard layout lookup behavior for method and proc cases · ef27bba6
      Chris Nicola 提交于
      When setting the layout either by referencing a method or supplying a
      Proc there is no way to fall back to the default lookup behavior if
      desired. This patch allows fallback to the layout lookup behavior when
      returning nil from the proc or method.
      ef27bba6
  7. 25 3月, 2013 3 次提交
  8. 24 3月, 2013 3 次提交
  9. 20 3月, 2013 3 次提交
  10. 19 3月, 2013 1 次提交
  11. 18 3月, 2013 2 次提交
  12. 17 3月, 2013 2 次提交
  13. 16 3月, 2013 2 次提交
  14. 15 3月, 2013 2 次提交
  15. 14 3月, 2013 1 次提交
  16. 13 3月, 2013 4 次提交
  17. 11 3月, 2013 1 次提交
  18. 09 3月, 2013 1 次提交
    • O
      Fix incorrectly appended square brackets to a multiple select box · 8e05a6f6
      Olek Janiszewski 提交于
      If an explicit name has been given and it already ends with "[]"
      
      Before:
      
          select(:category, [], {}, multiple: true, name: "post[category][]")
          # => <select name="post[category][][]" ...>
      
      After:
      
          select(:category, [], {}, multiple: true, name: "post[category][]")
          # => <select name="post[category][]" ...>
      8e05a6f6
  19. 08 3月, 2013 1 次提交
  20. 06 3月, 2013 2 次提交
  21. 04 3月, 2013 1 次提交