Permalink
Commits on Sep 27, 2009
  1. add rakefile

    technoweenie committed Sep 27, 2009
Commits on Aug 27, 2009
Commits on Mar 12, 2009
  1. Don't check uniqueness if !permalink_changed?

    Bug fix: check uniqueness when assigned using permalink=
    Increase test coverage for uniqueness and update checking.
    martinemde committed Mar 12, 2009
Commits on Mar 11, 2009
  1. Add a test for field_changed? => true that was going untested.

    Permalink should not regenerate if already set, even if the dependent field changes.
    martinemde committed Mar 11, 2009
  2. Added :update option to has_permalink method to update the permalink …

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

    …ed to create it hasn't changed.
    
    Signed-off-by: rick <technoweenie@gmail.com>
    Aubrey Holland committed with technoweenie Oct 9, 2008
Commits on Oct 21, 2008
  1. add a seed to permalinks, fix bug where setting permalink to nil woul…

    …d set it to a random hash
    technoweenie committed Oct 21, 2008
Commits on Oct 19, 2008
  1. issue where iconv translation of chinese characters to '?????', which…

    … comes out blank after subsitutions. Added failsafe to generate random permalink if the result is ever blank.
    cyu committed Oct 19, 2008
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…

    …ies on has changed - if the changed? method is supported.
    Aubrey Holland committed Sep 30, 2008
  2. No commit message

    cyu committed Sep 30, 2008
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]
    technoweenie committed Sep 5, 2008
Commits on Sep 4, 2008
  1. tweak permalink_fu so that the permalink= writer is defined after all…

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

    technoweenie committed Aug 28, 2008
Commits on May 22, 2008
  1. Turn "fööbär" into "foobar", not "f-o-ob-ar". As a desired side-effec…

    …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.
    henrik committed May 22, 2008
Commits on Mar 14, 2008
  1. simplified conditional code, since we don't need to deal with all of …

    …the contingencies that the ActiveSupport callbacks module does
    nakajima committed Mar 14, 2008
  2. fixed typo in README

    nakajima committed Mar 14, 2008