5 ms·
I've run into one, but it was pretty dumb. Multitenant application using the account ID as the first element in the URL on a Rails app. when it got to account 4
by blacktriangle 6y ago
I've run into one, but it was pretty dumb. Multitenant application using the account ID as the first element in the URL on a Rails app. when it got to account 404, my address.com/404 went to the static 404 page rather than account 404. That user was pretty confused for awhile.
- corytheboyd 6y agoOuch, using the top level path for something dynamic like that is rough. Hope someone learned the right lesson from that :p
- edmundsauto 6y agoThis is discussed in the article - they suggest to start your INT ids at a really large number to avoid this kind of thing.
- Can_Not 6y agoI don't know rails, but that is just terrible design. address.com/accounts/404 is what the devs should have used, and "404" is a response code and an error page, not a URL you redirect/rewrite URLs to.