Permalink
Commits on Nov 1, 2012
  1. Bump version and update changelog

    [ci skip]
    norman committed Nov 1, 2012
  2. Fix relation code to support Rails 3.2.9.rc1

    See issue #332
    norman committed Nov 1, 2012
Commits on Sep 14, 2012
Commits on Aug 1, 2012
  1. Set release data

    [ci skip]
    norman committed Aug 1, 2012
  2. Add @parndt to authors

    [ci skip]
    norman committed Aug 1, 2012
  3. Update changelog

    [ci skip]
    norman committed Aug 1, 2012
  4. Name anonymous class to fix marshalling.

    Resolves #314
    parndt committed with norman Jul 22, 2012
  5. Updated changelog

    norman committed Aug 1, 2012
  6. Fix minitest version to 3.2.0

    Minitest 3.3.0 was released a few days ago and currently dies with:
    
    ```
    /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:826:in `block in _run_suite': undefined method `run' for #<ConfigurationTest:0x007faf1d5835f8> (NoMethodError)
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:818:in `map'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:818:in `_run_suite'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:805:in `block in _run_suites'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:805:in `map'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:805:in `_run_suites'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:778:in `_run_anything'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:967:in `run_tests'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:954:in `block in _run'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:953:in `each'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:953:in `_run'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:942:in `run'
      from /Users/norman/.rvm/gems/ruby-1.9.3-p194-perf/gems/minitest-3.3.0/lib/minitest/unit.rb:700:in `block in autorun'
    rake aborted!
    Command failed with status (1): [/Users/norman/.rvm/rubies/ruby-1.9.3-p194-...]
    ```
    
    I don't have time to track this down right now, will check later if this is a
    bug in our code or theirs.
    norman committed Aug 1, 2012
  7. Merge pull request #316 from norman/optimisations

    Removed or begin in favour of ||= do
    norman committed Aug 1, 2012
Commits on Jul 26, 2012
Commits on Jul 22, 2012
  1. Removed or begin in favour of ||= do

    This uses one less block than previously.
    parndt committed Jul 22, 2012
Commits on Jul 10, 2012
Commits on Jul 4, 2012
  1. Merge pull request #309 from robyurkowski/master

    Clarify globalize slug documentation further
    norman committed Jul 4, 2012
  2. Clarify globalize slug documentation further

    It should now be clear that both the model's table and the model's
    translation table must have a slug field, and the model must declare the
    slug field translatable.
    robyurkowski committed Jul 4, 2012
Commits on Jul 3, 2012
  1. Merge pull request #308 from robyurkowski/master

    Document necessary location of slug column with Globalize
    parndt committed Jul 3, 2012
  2. Document necessary location of slug column (resolves #293)

    This adds a point of clarification in the rdoc and inside the globalize module itself to point out that the slug column must be present on the translation table, not the primary model table itself. It also (real friendly-like) corrects some faulty parallelism.
    robyurkowski committed Jul 3, 2012
Commits on Jun 21, 2012
  1. Fix setting slugs with the Globalize module

    Model#slug= was completely ignored and non-functional. This replaces it
    with working functionality that has the same interface used by SimpleI18n.
    norman committed Jun 21, 2012
  2. Always set locale in setup block

    norman committed Jun 21, 2012
  3. Simplify test name

    norman committed Jun 21, 2012
Commits on Jun 19, 2012
  1. Bump version, update changelog

    norman committed Jun 19, 2012
  2. Autoload slug rather than requiring directly

    Without this change, FriendlyId::Slug is not accessible from migrations
    unless friendly_id/slug is explicitly required.
    
    This should resolve issue #299.
    norman committed Jun 19, 2012
Commits on Jun 6, 2012
  1. Bumped version

    norman committed Jun 6, 2012
  2. Merge pull request #295 from pixeltrix/nil-to-param-fix

    Delegate to_param to super when friendly_id is not present.
    norman committed Jun 6, 2012
  3. Delegate to_param to super when friendly_id is not present.

    Currently ActiveRecord::Base#to_param returns nil when the record
    is not persisted. Rather than calling to_s on id, call super
    instead so that we get the default behavior.
    
    Closes #294.
    pixeltrix committed Jun 6, 2012
Commits on May 31, 2012
  1. Revert "Add Rails 3-2-stable/master to build matrix"

    This reverts commit 759c50c.
    
    I did something wrong here and the exlusions didn't work, reverting for
    now to investigate.
    
    [ci skip]
    norman committed May 31, 2012
  2. Add Rails 3-2-stable/master to build matrix

    Also exlude some other combinations to avoid too huge a matrix.
    norman committed May 31, 2012
Commits on May 29, 2012
Commits on May 27, 2012
Commits on May 25, 2012
Commits on May 21, 2012
  1. Bump version

    [ci skip]
    norman committed May 21, 2012
  2. Updated changelog

    The previously pulled commit closes #259 and closes #279.
    norman committed May 21, 2012