Add AR::Base.to_param for convenient "pretty" URLs derived from a model's attribute or method.
Merge pull request #12891 from javan/to-param

Add AR::Base.to_param for convenient "pretty" URLs derived from a model's attribute or method