Fixed how we submit array data to Rails