Permalink
Commits on Sep 9, 2011
Commits on Sep 8, 2011
  1. Add railties to Gemfiles

    norman committed Sep 8, 2011
  2. Added generator test

    norman committed Sep 8, 2011
Commits on Sep 7, 2011
  1. Bump version

    norman committed Sep 7, 2011
    [ci skip]
  2. Doc update

    norman committed Sep 7, 2011
  3. Remove JRuby from CI build

    norman committed Sep 7, 2011
    This is because getting ar-jdbc from git takes so long that it causes
    timeouts and random failures. Once a new release is out, then I'll add
    JRuby testing back.
Commits on Sep 6, 2011
Commits on Sep 4, 2011
  1. i18n now requires locale suffix on all slug columns

    norman committed Sep 4, 2011
    This is conceptually cleaner and will facilitate changing the default
    locale. Thanks to Philip Arndt for feedback.
Commits on Sep 3, 2011
  1. Fixed doc link

    manuelmeurer authored and norman committed Sep 3, 2011
    [ci skip]
  2. Fix typo

    norman committed Sep 3, 2011
    [ci skip]
  3. Ignore bundler lockfiles

    norman committed Sep 3, 2011
  4. Improve peformance of finds using old friendly_id

    norman committed Sep 3, 2011
    Dropping down to manual SQL here like FriendlyId 3.x does gives us a
    3.6x performance improvement.
  5. Remove lockfiles from git

    norman committed Sep 3, 2011
  6. Simplify overidden exists?

    norman committed Sep 3, 2011
  7. Improve docs

    norman committed Sep 3, 2011
Commits on Sep 2, 2011
  1. Extend the current relation class rather than just Relation

    norman committed Sep 2, 2011
    In case another library uses the same pattern as FriendlyId, we'll still
    be able to pick up their changes.
  2. Add new finders to anonymous subclass

    norman committed Sep 2, 2011
    This lets us completely avoid tainting other models with FriendlyId
    logic - you *ONLY* get FriendlyId code in a class that calls `extend
    FriendlyId`. However, this could possibly break in interesting ways so
    it will have to be tested quite a bit before release.
Commits on Sep 1, 2011
  1. Make records decide whether to generate a new slug

    norman committed Sep 1, 2011
    Moving this back into the record rather than delegating this logic to
    the sequencer (soon to be renamed generator). This makes more sense
    because developers can now override the "should_generate_friendly_id?"
    method if, for example, they want to only generate a friendly_id once,
    or generate a new one on each save, or some other valid use case I can't
    predict.
  2. Define classes normally rather than using Class.new

    norman committed Sep 1, 2011
    On AR 3.1 with JRuby, the table name remains undefined with creating new
    classes with the constructor. Since this isn't really necessary, just
    define them the traditional way here.
  3. Remove commented-out require

    norman committed Sep 1, 2011
  4. Fix reflection foreign key for 3.0

    norman committed Sep 1, 2011
    Also removing test which should no longer be necessary.
Commits on Aug 31, 2011
  1. Properly detect foreign key in STI models

    norman committed Aug 31, 2011
    Closes GH norman#133