I using ruby on rails. I have a string that needs to converted to dig readable format
"search.user[0].user_id" convert this to [:search, :user,0, :u