Developing behaviours for tagging

Hello all,

I’ve just posted up the latest work on my tagging support patch. It is
to be applied against r78.

I added a ‘descendents’ and a ‘descendents_and_self’ method to the Page
model that allows it to get all of its descendents as opposed to only
its immediate children.

The tagging behaviours make use of this new functionality to list only
the tags that occur in the branch of the site they reside in, ie:

/
/tags <-- lists tags across site (ie, tags on about, articles, one, two)
/articles
/articles/tags <-- lists tags on pages in the articles branch (ie: one,
two)
/articles/one
/articles/two
/about

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs