Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
WeakRef::RefError: Invalid Reference - probably recycled #877
I am not able to get all items using
each item also able to access.
But I am not getting all the items when doing
In previous nanoc 3.7.5 version when doing @item.children I was getting below list when printing
[<Nanoc::Item identifier="/aihe/ring/1/" binary?=false>, <Nanoc::Item identifier="/aihe/ring/2/" binary?=false>, <Nanoc::Item identifier="/aihe/ring/3/" binary?=false>]
Whereas In new nanoc version 4.2.1 I tried to get the children using below pattern but when I print the list matching the pattern I am getting error already mentioned above.
<%= @Items.find_all(pattern) %> gives error where pattern is below
here pattern: /aihe/ring/*/index.html and @item.identifier = '/aihe/ring/index.html'
I want to get all the child items and do sort them and add them to the parent item.