Changeset [a72db6a6366e02f0ad28e2b89542a8292b23182c] by Norman Clarke

June 3rd, 2009 @ 10:48 AM

Always call #to_s on slug_text to allow objects such as DateTimes to be used for the friendly_id text. (reported by Jon Ng) http://github.com/norman/friendl...

Committed by Norman Clarke

  • M History.txt
  • M Manifest.txt
  • M friendly_id.gemspec
  • M lib/friendly_id/slug.rb
  • M lib/friendly_id/version.rb
  • M test/schema.rb
  • M test/slugged_model_test.rb
  • M test/test_helper.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Friendly_id is a plugin for Ruby on Rails which allows you to work with human-friendly strings as well as numeric ids in ActiveRecord models.