public
Description: github version of slugjitsu
Homepage:
Clone URL: git://github.com/james/slugjitsu.git
name age message
file README Loading commit data...
file init.rb
directory lib/
directory test/
README
For Making slugs.

Made by Dan Webb.

How to use with Active Record:

#  title                      :string(255)     
#  slug                       :string(255)
class Item < ActiveRecord::Base
  has_slug :title, :slug, :always_update => true
  
  def to_param
    slug
  end
  
  def slug=(val)
    unless new_record?
      write_attribute(:slug, Slugjitsu::dirify(val, slug_scope))
    else
      super
    end
  end
  
end