norman / friendly_id

FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord. It allows you to create pretty URL’s and work with human-friendly strings as if they were numeric ids for ActiveRecord models.
http://norman.github.io/friendly_id/
MIT License
6.13k stars 589 forks source link

Re-enable numeric sequences? #1005

Closed 9mm closed 1 year ago

9mm commented 1 year ago

I understand the allure of UUIDs, but for an app not using asynch processing, it definitely makes the url ugly and not friendly being forced to use UUIDs.

Is there a flag to re-enable the old behavior? I've searched around and don't see anything. I suppose using a proc in the candidate function is the only way?

9mm commented 1 year ago

https://github.com/norman/friendly_id/issues/480#issuecomment-28292649