"map.resources " problem

you should read-up on REST.

still (without knowing your code) you can just use routes the old
fashioned style like you used to have them in rails < 2.

map.resources :accounts, :member => { :select_photo => :get } ???