Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 13, 2012
Commits on Sep 27, 2009
  1. add rakefile

Commits on Aug 27, 2009
  1. @adamsalter
  2. @adamsalter
  3. @adamsalter
Commits on Mar 12, 2009
  1. @martinemde
  2. @martinemde

    Don't check uniqueness if !permalink_changed?

    martinemde committed
    Bug fix: check uniqueness when assigned using permalink=
    Increase test coverage for uniqueness and update checking.
Commits on Mar 11, 2009
  1. @martinemde

    Add a test for field_changed? => true that was going untested.

    martinemde committed
    Permalink should not regenerate if already set, even if the dependent field changes.
  2. @martinemde

    Added :update option to has_permalink method to update the permalink …

    martinemde committed
    …every time the dependent field changes.
Commits on Feb 10, 2009
  1. If the existing permalink is nil, then update it even if the field us…

    Aubrey Holland committed with
    …ed to create it hasn't changed.
    Signed-off-by: rick <>
Commits on Oct 21, 2008
Commits on Oct 19, 2008
  1. @cyu

    issue where iconv translation of chinese characters to '?????', which…

    cyu committed
    … comes out blank after subsitutions. Added failsafe to generate random permalink if the result is ever blank.
Commits on Oct 9, 2008
Commits on Oct 3, 2008
Commits on Sep 30, 2008
  1. Don't update the permalink field unless one of the fields that it rel…

    Aubrey Holland committed
    …ies on has changed - if the changed? method is supported.
  2. @cyu

    No commit message

    cyu committed
Commits on Sep 25, 2008
Commits on Sep 5, 2008
  1. Use #read_attribute(:permalink_field) when creating the permalink, in…

    …stead of using the permalink accessor in case it is overridden. [Avi Flombaum]
Commits on Sep 4, 2008
  1. tweak permalink_fu so that the permalink= writer is defined after all…

    … of the other model attributes
Commits on Aug 28, 2008
  1. allow multiple scopes

Commits on May 22, 2008
  1. @henrik

    Turn "fööbär" into "foobar", not "f-o-ob-ar". As a desired side-effec…

    henrik committed
    …t, "foo!!1" becomes "foo1" rather than "foo-1".
    This is under OS X, by the way. I believe iconv can behave slightly differently on different platforms.
Commits on Mar 14, 2008
  1. @nakajima
  2. @nakajima
  3. @nakajima

    simplified conditional code, since we don't need to deal with all of …

    nakajima committed
    …the contingencies that the ActiveSupport callbacks module does
Something went wrong with that request. Please try again.