rspec/rspec-rails — pull request #454 by liquid (2011-10-20 16:47:33+00:00)
Title: Use to_param in scaffold spec templates

Action Pack uses `to_param` for constructing an URL to objects. The default implementation returns this record’s `id` as a String. This way even if `to_param` is overridden in an ActiveRecord object, the controller spec templates are still going to be valid and will still work.

I understand that even though when using a scaffold, `to_param` will equal to `.id`, I still think that RSpec-Rails should be following the Rails conventions and use `to_param` instead.