CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Wed, 23 Jul 2025 19:24:40 GMT
content-type: text/html; charset=utf-8
content-length: 115
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 04 Jan 2009 07:21:11 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7BzoOcmV0dXJuX3RvIhcvdWppaGlzYS9mb2xsb3dlcnMiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--8ae08f310c55538f0360dd8301fab65f89338d9a; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090104072112/https://github.com/github/permalink_fu/tree/master
x-archive-orig-x-runtime: 182ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 115
cache-control: max-age=1800
accept-ranges: bytes
memento-datetime: Sun, 04 Jan 2009 07:21:12 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 25 Jul 2008 06:42:31 GMT", ; rel="prev memento"; datetime="Fri, 25 Jul 2008 06:42:31 GMT", ; rel="memento"; datetime="Sun, 04 Jan 2009 07:21:12 GMT", ; rel="last memento"; datetime="Sun, 04 Jan 2009 07:21:12 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20090104033323_crawl108-c/52_7_20090104071936_crawl103.arc.gz
server-timing: captures_list;dur=0.531917, exclusion.robots;dur=0.020824, exclusion.robots.policy;dur=0.010990, esindex;dur=0.013195, cdx.remote;dur=13.591990, LoadShardBlock;dur=209.454730, PetaboxLoader3.datanode;dur=140.238715, PetaboxLoader3.resolve;dur=219.719967, load_resource;dur=191.725424
x-app-server: wwwb-app221
x-ts: 301
x-tr: 442
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app221; path=/
cache-control: private
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 23 Jul 2025 19:24:41 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 04 Jan 2009 07:21:12 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 250ms
x-archive-orig-etag: "b835708a8f40506909ba807d02fd6d1b"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 14118
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 04 Jan 2009 07:21:12 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 05 Oct 2008 13:59:11 GMT", ; rel="prev memento"; datetime="Sun, 05 Oct 2008 13:59:11 GMT", ; rel="memento"; datetime="Sun, 04 Jan 2009 07:21:12 GMT", ; rel="next memento"; datetime="Tue, 06 Jan 2009 04:28:19 GMT", ; rel="last memento"; datetime="Sun, 12 Jun 2016 01:59:24 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20090104033323_crawl108-c/52_7_20090104071936_crawl103.arc.gz
server-timing: captures_list;dur=0.980237, exclusion.robots;dur=0.039905, exclusion.robots.policy;dur=0.017695, esindex;dur=0.020247, cdx.remote;dur=33.300260, LoadShardBlock;dur=640.956458, PetaboxLoader3.resolve;dur=758.300241, PetaboxLoader3.datanode;dur=187.512085, load_resource;dur=327.792360
x-app-server: wwwb-app221
x-ts: 200
x-tr: 1071
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
github's permalink_fu at master — GitHub
We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of technoweenie/permalink_fu | |
Description: | ActiveRecord plugin for automatically converting fields to permalinks. |
Clone URL: |
git://github.com/github/permalink_fu.git
Give this clone URL to anyone.
git clone git://github.com/github/permalink_fu.git
|
name | age | message | |
---|---|---|---|
![]() |
README | Thu Mar 13 20:15:02 -0700 2008 | fixed typo in README [nakajima] |
![]() |
init.rb | Mon Oct 15 14:19:36 -0700 2007 | append incrementing numbers for duplicate guids [technoweenie] |
![]() |
lib/ | Fri Mar 14 14:27:42 -0700 2008 | added test coverage for :unless option, decided... [nakajima] |
![]() |
test/ | Fri Mar 14 14:27:42 -0700 2008 | added test coverage for :unless option, decided... [nakajima] |
README
PermalinkFu This is a simple plugin extracted from Mephisto for creating permalinks from attributes. 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. If you're having issues with Iconv, you can manually tweak PermalinkFu.translation_to PermalinkFu.translation_from. These are set to nil if Iconv is not loaded. You can also manually set them to nil if you don't want to use iconv. [Added 3.13.2008 by Pat Nakajima] You can now add conditions to #has_permalink like so: class Article < ActiveRecord::Base has_permalink :title, :if => Proc.new { |article| article.needs_permalink? } end Use the :if or :unless options to specify a Proc, method, or string to be called or evaluated. The permalink will only be generated if the option evaluates to true.
This feature is coming soon. Sit tight!