Emmek on Rails wrote:
> 
> I imagine that code "extracts" unique themes from @page.children and
> then iterates through these themes and displays just pages (titles) that
> are children of the current page and belong to proper themes.
> 
You might want to look at named_scopes... this sounds like a candidate 
for a something like page.theme_ordered_children, rather than just 
page.children.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to