Displaying 2 results from an estimated 2 matches for "recursivley".
Did you mean:
recursively
2005 May 17
8
acts_as_tree elegant tree printing
Hi,
I''m working with acts_as_tree to print an unordered list of items:
Root
-- Child
---- Child
I''ve got this working, however I''d like to know if there is a more
elegant fashion that I''m unaware of:
#Takes a parent category and recursivley returns all children
def find_all_subcategories(category)
if category.children.size > 0
ret = "<ul>"
category.children.each { |subcat|
if subcat.children.size > 0
ret += "<li>" + subcat.title
ret += find_all_...
2011 Jun 17
7
Questions for puppet 2.6.8 client certificate management
How do I initiate a certificate request without going into non-daemon mode ?
According to "Pro Puppet" book, so far the only way I know that can
trigger a certficate request with puppet master is like this
puppet agent --server=puppetmaster.test.com --no-daemonize --verbose
but doing so will break my intention of automation I need to create a
puppet client package. A control-C is