Please move the myphoto action to its own controller (something like PhotoController) and add a Ruby test that covers it.