List articles by category

I am new at Rails, I have a number of articles excerpts etc that I want
to organise in a blog like format. I am nearly finished, but now I want
to have a list of categories (dynamically created from a MySQL table)
which I want to link to all articles tagged as that category.

What is the easiest way to create all this dynamically?

Thanks

James Cumming wrote:

I am new at Rails, I have a number of articles excerpts etc that I want
to organise in a blog like format. I am nearly finished, but now I want
to have a list of categories (dynamically created from a MySQL table)
which I want to link to all articles tagged as that category.

What is the easiest way to create all this dynamically?

Thanks

Hi James,
I think these can help you:
http://source.mihelac.org/articles/2007/05/12/rails-in-practice-group-records-by-condition

best,
Bojan


Bojan M.
-> Ruby on Rails and Web D. Blog : http://source.mihelac.org

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