title: Sending array of nulls in json request - Rails 5
body: <p>I need to send request to my Rails API with key like: <code>ids: [null, 1, 2, null, 3]</code>. Unfortunately Rails cuts all the nulls from this array so the <code>params[:ids]</code> returns <code>[1, 2, 3]</code>. I need those nulls in the array.</p>
  
  <p>How can I prevent Rails from removing them? I can send empty string instead of null, but it's not very elegant.</p>