Rails3: controller: repositories: use to_s for revision parameter
On Rails 3.0 and Ruby 1.8.7, following error raises.
Error: test_revision(RepositoriesControllerTest): NoMethodError: undefined method `strip' for 1:Fixnum app/controllers/repositories_controller.rb:252:in `find_repository' test/functional/repositories_controller_test.rb:44:in `test_revision'
Authored by: tmaruyama 2011-10-09
Parent: [r7621]
Child: [r7623]