How to create app-wide slug routing for Rails app?
There may be a way to do this with freindly_id but i think the problem with friendly id is things are scoped by model. If I wanted truely sitewide slugging I would create a slugs table with a polymorphic relationship to all my models. Sluggable_type and sluggable_id and then a slug field with the complete … Read more