I'd like to do this..
map.resources :app, :primary_key => [:application_id]
application_id is an apple app id.
There are no relationships involved.
I thought it'd be good to do this in future
as well as / instead of
Thing is though, a few questions...
1) will the regular IDs still exist /show/:id / will it still be
possible to use regular IDs
2) do I have to do anything special in the migration (currently I just
create the application_id as an integer)
3) when I create a new app, will it try to get clever and auto increment
the application_id or something, I wouldn't want this - or would it
increment the regular id.
I suppose what I'm trying to say is that I'd like a route that allows me
to do /show/:application_id
Maybe I should just forget about it and use the rails id column.