Sha256: ff32389d04a67eaaed81fe6973d564682477e17c987f919ee1a9e51bf0ab40f5

Contents?: true

Size: 769 Bytes

Versions: 9

Compression:

Stored size: 769 Bytes

Contents

= RailheadPermalink

RailheadPermalink is a Ruby on Rails plugin that automatically finds ActiveRecord objects with permalink.

== Installation

Installation is available as gem (recommended):

  config.gem 'railhead_permalink'

Or as Rails plugin:

  $ ruby script/plugin install git://github.com/nagybence/railhead_permalink.git

== Usage

Add permalink field to your schema:

  t.string :permalink

Setup permalink for your ActiceRecord object:

  auto_permalink :title

You can setup reserved names too:

  auto_permalink :title, :reserved_names => %w(reserved names)

You can keep already existing permalinks:

  auto_permalink :title, :keep_existing => true

== License

Copyright (c) 2008-2009 Bence Nagy (nagybence@tipogral.hu), released under the MIT license.

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
railhead_permalink-0.2.3 README.rdoc
railhead_permalink-0.2.2 README.rdoc
railhead_permalink-0.2.1 README.rdoc
railhead_permalink-0.2.0 README.rdoc
railhead_permalink-0.1.20 README.rdoc
railhead_permalink-0.1.19 README.rdoc
railhead_permalink-0.1.18 README.rdoc
railhead_permalink-0.1.17 README.rdoc
railhead_permalink-0.1.16 README.rdoc