[Betternestedset-talk] Recursive Menu Example

leon du leondu at gmail.com
Mon Oct 8 02:28:35 EDT 2007


hi all!

I am now reading the recursive menu example and got some problem with the
code below:
------------------------------------------------------------------------------------

@menus[i] = {:indent => allmenus[i].level,
                     :title  => allmenus[i].title,
                     :children_count => allmenus[i].all_children_count,
                     :url  =>  allmenus[i].page ?
allmenus[i].page.whole_url : ''}

--------------------------------------------------------------------------
but in the database section, I dont see the column definition of
'title' and 'page', so is there somthing missed or
is it my misundstanding?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/betternestedset-talk/attachments/20071008/4c064b19/attachment.html 


More information about the Betternestedset-talk mailing list