• R
    Fix Issue board when using Ruby 2.4 · f67c7a4d
    Rémy Coutable 提交于
    In Ruby 2.4, Hash#compact exists and returns a Hash, while in
    Ruby 2.3,
    Hash#compact is implemented by Rails and returns a new
    `ActionController::Parameters` instance in this case.
    
    Also, `ActionController::Parameters#compact` is deprecated in
    Rails 5.1 so we're using `reject { |_, value| value.nil? }` instead.
    Signed-off-by: NRémy Coutable <remy@rymai.me>
    f67c7a4d
35769-fix-ruby-2-4-compatibility.yml 76 字节