Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.ruby Subject: Re: Best way to create hash of hashes Date: Sun, 26 Jun 2016 00:26:27 +0200 Lines: 24 Message-ID: References: <13873e93-3db4-47b8-83ad-35fa19e6d70f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net gzm2USe7PdU5cMYAjC+L5QYMxN0DhOAw07dLbjT86EMLj53o4= Cancel-Lock: sha1:Q0RN8qYOSYuk4fZkYMvjn/GRV+w= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: Xref: csiph.com comp.lang.ruby:7269 On 25.06.2016 17:27, Sayth Renshaw wrote: > The data I will be collecting from XML has a snowflake schema based > around, though there are changes I want to make from first version. I am not sure how a snowflake schema looks in XML. Or is that the target DB? > At this stage i just want to ensure I maintain the relationship of > each person and id to the event id and will create some json files to > play with charts and display before I parse all files and push to > database. Wouldn't it be sufficient then to store the event id in every person? And what do you need JSON for when you read from XML and store in a (presumably) relational DB? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/