You can insert array values ββinto the form with:
<input type = 'textbox' name = 'model[array_column_name][:item_1, :item_2...]'> params['model']['array_column_name']
I am not familiar with mustache.js, but the above should give you an approximate idea of ββhow to implement a form with a PostgreSQL array.
source share