search for: my_nod

Displaying 2 results from an estimated 2 matches for "my_nod".

Did you mean: my_nbd
2008 Mar 16
8
include a page in another
Hi, for my isbn plugin, I''m wishing to incldue generated isbn pages in caller pages (the ones with <isbn value=""> tags). But I want my isbn page to be processed before for its tags to be transformed (like the relocatable or other ones). Besides, i do not want its header to be included. Is there an easy solution for that, or should I do the work myself ? -- Nicolas
2006 Jan 19
0
Problem with an Tree-like object hierarchy (ActiveRecord acts_as_tree)
...he parts that changed. This all works like a charm! Sending a message (eg activation) down the tree (root->leafs) is fine. Now the problem: when I pick an node from the tree and try to activate itself and all its ancestors, only the one element will get activated. Trying something like my_node.children[0].parent.active = true doesn''t work either. When I make the call recursive like def show_up puts "activating #{self.name}" @active = true if parent then parent.show_up end end I can see in the log file that its traversing all the way up to the root,...