method

to_param

to_param()
public

Returns a string representing the object’s key suitable for use in URLs, or nil if persisted? is false.