zhaorong/mm-sluggable — pull request #1 by mariopeixoto (2012-02-07 23:39:04+00:00)
Title: Overriding to_param and find methods

This fix the link_to issues.

link_to will link using the slug instead of model.id and the find method will be able to search using the slug if it exists, otherwise using the model.id

There is a similar pull request but it was not working on earlier version of rails.
Tested on rails 3.1.3