Menu

Commit [r7622]  Maximize  Restore  History

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'

tmaruyama 2011-10-09

changed /trunk/app/controllers/repositories_controller.rb
/trunk/app/controllers/repositories_controller.rb Diff Switch to side-by-side view
Loading...