norman/friendly_id — pull request #477 by Hermanverschooten (2013-10-27 16:39:22+00:00)
Title: Call to_param to ensure we get a string as specified in the rails docs

Because of a rewrite in the routes in Rails 4.0.1.rc3 friendly_id causes an issue if the field you are using is numeric.
The to_param method that is included in the model should always return a string.
The easiest way to do this is by calling to_param on the result itself.