Displaying 1 result from an estimated 1 matches for "article_permalink".
2006 Feb 01
0
to_param() / url generation Question
I''m trying to implement the to_param method to allow url generation to
be in the format of /:category_name/:article_permalink (as discussed on
page 299 of Agile Web Development With Rails).
I expect that I need to override/implement the to_param method and have
it return the category_name for the category model and the
article_permalink for my article model, but I haven''t had any luck in
doing this. I'...