• 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
base.rb 5.8 KB