Hi,
I've converted this functionality into a quick plugin and also added some method_missing magic to enable form like link_to_nice_name(@person) ( which uses @person.nice_name ).
Grab it from http://linktomagic.googlecode.com/svn/link_to_magic/
Thanks, Pratik
ack! more method missing! this means more functions people can't look up in the API.
Why not name it something else that is searchable, and use a symbol or something
link_to_method(:nice_name, @person)
$ find . | grep \.rb$ | xargs grep -s 'method_missing' | wc -l 59
Agree.