if i have params like this :
params[\"scholarship\"] = {\"name\"=>\"test\", \"state_ids\"=>[\"1\", \"2\", \"3\", \"4\"]}
and when i c
In your model have
serialize :state_ids
Here is a link to the documentation
That being said it looks like you're trying to pass state_ids parameters and save it in state_id, is this what you're intending to do?