Not restful way ?

Please give a suggestion about the right way to do it in Rails.

I have user profile form that is at url /my/profile It posts PUT request to update it to the same url, but map.resources in routes make put request with the need of :id option passed, but I know this id from customer, it should be determined in controler just before update.