public
Description: Rails plugin to create permalinks in models
Homepage:
Clone URL: git://github.com/febuiles/make_permalink.git
make_permalink / README
100644 23 lines (12 sloc) 0.463 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
== make_permalink
 
http://github.com/febuiles/make_permalink
 
make_permalink is a Rails plugin that allows you to easily create permalinks for attributes in your models.
 
== Example
 
 
     class Post < ActiveRecord::Base
        make_permalink :title
     end
  
     p = Post.create(:title => "Hello World!")
     p.permalink # => "1-hello-world"
 
== Bugs/Contact
 
 
federico.builes@gmail.com
 
Copyright (c) 2008 Federico Builes, released under the MIT license