Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Add value inside 'Nested Mappings String'
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Kamarulnizam Rahim, post: 4677377"] Hi, Im trying to add some data/value into my nested mapping file(strings) output but its not working. Below the example of my output: {"System"=> {"H&S"=> {"name"=>"Health & Safety", "components"=>["FlashWheel"], "children"=> [{"name"=>"Training and Culture", "type"=>"Programme", "subtype"=>"None", "components"=>.................. For example how can i change the children name from "Training and Culture" to let say "Objective"? Do i need to build a new hash for this data and modify that hash? Thanks in advance. Nizam [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Add value inside 'Nested Mappings String'
Top