Using handsontable, I want to create a record for each line.
By my current setup, my .getData() retus an array. Of course, rails expects this to be an object with the keys being my attributes.
What is the best way to attack this problem? Does this require formatting client-side via jquery or handsontable callbacks? Or should I merge an array of attributes to form the proper object server-side?
Is there a better solution?
