if i have params like this :
params[\"scholarship\"] = {\"name\"=>\"test\", \"state_ids\"=>[\"1\", \"2\", \"3\", \"4\"]}
and when i c
Also you can use PostrgreSQL support for array storing. (If you're using PG of course). Your migration will look like that:
add_column :table_name, :column_name, :string, array: true, default: []
But don't forget about validations.