RubyFlow The Ruby and Rails community linklog

AgnosticSlugs

A simple gem that can generate slugs.

 

It does not integrate with ORMs

It does not monkey-patch String class

 

https://github.com/lasseebert/agnostic_slugs

Comments

does it work like friendly_id ?

does it work like friendly_id ?

Looks great. Fantastic list of accents. FYI: An alternative asciify and slugify version is included in the textutils (textkit) gem. Cheers.

Duncan: Friendly_id is ActiiveRecord specific. AgnosticSlugs is… agnostic about what framework, ORM or whatever you use ;)

Gerald: Thanks for the tip. Will look into textutils :)

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in