Permalink Fu plugin

Plugin details

This is a simple plugin extracted from Mephisto for creating permalinks from attributes.

Repositoryhttp://svn.techno-weenie.net/projects/plugins/permalink_fu/ Author Rick Olson Tags seo, url LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/permalink_fu/
class Article < ActiveRecord::Base
    has_permalink :title
end



This will escape the title, making it fit to use in a URL in the after_validation callback.

Use PermalinkFu.escape to escape a string manually if you like.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (2 older versions) | Last edited by: scott, over 2 years ago