Plugins - acts_as_sluggable

StarAdd to favorites

Adds slugs to your URLs based on an existing field in any model.
So,
/blog/show/12
becomes
/blog/show/12-wtf-check-this-out-lol

Tore Darell

http://tore.darell.no/pages/acts_as_sluggable

http://nimrod.interinter.net/plugins/trunk/acts_as_sluggable/

Rails' (MIT)

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Model

Tags

Comments

Add a comment
Tore Darell 29 Jan 2008

Bilal: There's nothing wrong with non-ASCII characters in the URL, the browser will punycode them.

Anyway, this plugin is pretty useless now.. Just define to_param to do what you want.

Win 14 Jan 2008

What does actsas_sluggable give you over modifying the toparam method in ActiveRecord::Base?

Bilal Ahmed 10 Oct 2007

acts_as_sluggable is missing some important points like it allows some characters to be a part of the url slug which are not url friendly like subscripts etc. have any one else got such experience?

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?