Use memoize and to_param for easy rails permalinks
Not sure why anybody on rails 2.2 or above would really need permalink_fu when you can do this:
This is because the params[:id] in you Find(params[:id]) gets to_i called on it, I think. Have to look into that some other time.
You could then go on to memoize this stuff.
December 20, 2008

Thank you very much for the excellent tip!
April 12, 2009 at 10:08 PM@petko Sure. This is def something I use all the time.
April 21, 2009 at 3:49 PM