SEO friendly URLs can be accomplished through various methods in Rails. Most of the time I have been using permalink_fu for most of my URL rewrites. Recently, my friend published a great replacement to permalink_fu called friendly_id.
http://www.jonathansng.com/blog/1
will automagically become
http://www.jonathansng.com/blog/why_this_plugin_rocks
As an added benefit, if you already have permalinks in play friendly_id will 301 redirect incoming requests so you don’t get dinged!
Check out friendly_id over at agilewebdevelopment.com or at his site.