if i have params like this :
params["scholarship"] = {"name"=>"test", "state_ids"=>["1", "2", "3", "4"]}
and when i create object to database field state_id not save to database?
how to save to database with format :
#<Scholarship id: 1, name: "test", state_id: "["1", "2", "3", "4"]">
how do that?
thanks before