You may want to read into how you can setup customer routes using the
routes.rb files in rails... Furthermore you may want to read into
RESTful development, and how rails deals with Resources etc... might
help with your issue here.
There's a TON of information on this on the net, and there's just too
much to go through here...