title: Redis-objects list on a Redis-object in ruby
body: <p>I have a redis-object's list. Each object in the list needs to have another list. </p>
  
  <p><code>class Parent
    include Redis::Objects
    list :children, marshal: true
  end
  </code> </p>
  
  <p><code>class children
    include Redis::Objects
  end
  </code> </p>
  
  <p>The above code samples just highlight the relationship. They do include other things like attr_accessors etc.</p>
  
  <p>My issue arrives when I call children on an instance of the parent, such as in the example below:</p>
  
  <p><code>p = Parent.new</code></p>
  
  <p><code>Redis::List.new('some_key', marshal: true) &lt;&lt; p</code></p>
  
  <p><code>p.children
  =&gt; nil</code></p>
  
  <p>I have a working example using an active record model with the list added to it. However including it on a redis-object seems to give me issues.</p>
  
  <p>Do I need to handle the situation manually in the way it is described in part two of the redis-object documentation, or do I some how have to create the redis-objects list on creation of the parent object? My thoughts were that this creation was implicit</p>