I have a table named `cart` where `items` is in `json` type. The value in cart are as follows for 3 examples:

```
1. Cart(id: 1, name: 'Test', items: [{'desc'=>'First','names'=>'First'}, {'desc'=>'Second','names'=>'Second'}])
2. Cart(id: 2, name: 'Test', items: [{'desc'=>'First','names'=>'First'}, {'desc'=>'Second','names'=>'Second'}])
3. Cart(id: 3, name: 'Test', items: [{'desc'=>'First','name'=>'First'}, {'desc'=>'Second','name'=>'Second'}])

```

How can I update all the items key to have `name` key instead of `names` in rails? Such that it becomes as follow:

```
1. Cart(id: 1, name: 'Test', items: [{'desc'=>'First','name'=>'First'}, {'desc'=>'Second','name'=>'Second'}])
2. Cart(id: 2, name: 'Test', items: [{'desc'=>'First','name'=>'First'}, {'desc'=>'Second','name'=>'Second'}])
3. Cart(id: 3, name: 'Test', items: [{'desc'=>'First','name'=>'First'}, {'desc'=>'Second','name'=>'Second'}])

```