Skip to content

Rails plugin that adds a way to create random slugs when using friendly_id

License

Notifications You must be signed in to change notification settings

josei/random_slug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RandomSlug

This is a tiny plugin that enables using random slugs with friendly_id gem. Use it like this:

class Post
  has_friendly_id :random_slug, :use_slug=>true
end

This will create a 10 characters alphanumeric string, such as “gik0r5dp82”.

Copyright © 2011 José Ignacio Fernández, released under the MIT license

About

Rails plugin that adds a way to create random slugs when using friendly_id

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages