ruby on rails 3 - Best way to generate bit.ly or twitpic style ids? -
for personal project i'm working on, i'd generate ids objects on website in same style sites bit.ly , twitpic. sending users example.com/4gwv9k let me item id 9gwv9k. question of auto-incrementing on base-36 scheme or there underlying, non-incrementing magic going on?
this being done in rails, gem support welcome well.
here's example on did in sinatra.
Comments
Post a Comment