I've written a patch to replace #id calls with #to_param in the
scaffold generated controller tests:

  
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1913-use-to_param-in-generated-controller-tests

Is anybody averse to this change? #to_param falls back to #id if it's
not explicitly defined, and using it in the generated steps gives
people the freedom to refactor with fewer unrelated breakages.

Pat

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to