1. 08 6月, 2015 1 次提交
    • G
      Raise an ArgumentError when `include_blank` is false for a required field in · 07754073
      Grey Baker 提交于
      `Tags::Base#select_content_tag`.
      
      Previously, passing a falsey value to `include_blank` would be ignored if the
      field was required, and a blank line would still be inserted. The following will
      now raise instead of quietly failing:
      
      `select("post", "category", %w(a required field), { include_blank: false }, required: 'required')`
      07754073
  2. 11 2月, 2015 1 次提交
  3. 15 1月, 2015 3 次提交
  4. 01 11月, 2014 1 次提交
  5. 23 9月, 2013 1 次提交
  6. 20 6月, 2013 1 次提交
  7. 06 4月, 2013 1 次提交
    • R
      Fix explicit names on multiple file fields · 48dc5192
      Ryan McGeary 提交于
      If a file field tag is passed the multiple option, it is turned into an
      array field (appending "[]"), but if the file field is passed an
      explicit name as an option, leave the name alone (do not append "[]").
      
      Fixes #9830
      48dc5192
  8. 05 4月, 2013 1 次提交
  9. 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
  10. 03 11月, 2012 1 次提交
  11. 11 7月, 2012 1 次提交
  12. 17 5月, 2012 1 次提交
  13. 13 5月, 2012 4 次提交
  14. 07 4月, 2012 1 次提交
  15. 14 3月, 2012 1 次提交
  16. 10 3月, 2012 1 次提交
  17. 26 2月, 2012 1 次提交
  18. 24 2月, 2012 1 次提交
  19. 21 2月, 2012 1 次提交
  20. 12 2月, 2012 1 次提交
  21. 02 2月, 2012 2 次提交
  22. 23 1月, 2012 1 次提交
  23. 18 1月, 2012 1 次提交
  24. 17 1月, 2012 7 次提交