JSON Array in Rails

i created this JSON in Rails with “render json:”

but the right JSON is

How can i add “my” as a hash?

How can i create a array in database with the “set” array?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs