Forum: Ruby on Rails JSON Array in Rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
686151477aee26b2558a4f42da5ab661?d=identicon&s=25 Tom D. (tomdde)
on 2017-01-31 09:10
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 topic is locked and can not be replied to.